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
5158b3cf
Commit
5158b3cf
authored
Aug 13, 2020
by
Deni Rinaldi
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'faisal' into 'master'
update company See merge request
!64
parents
586128e4
60fd0171
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
2 deletions
+26
-2
CreatePerusahaan.js
src/container/MasterData/Perusahaan/CreatePerusahaan.js
+26
-2
No files found.
src/container/MasterData/Perusahaan/CreatePerusahaan.js
View file @
5158b3cf
...
@@ -12,6 +12,7 @@ export default class CreatePerusahaan extends Component {
...
@@ -12,6 +12,7 @@ export default class CreatePerusahaan extends Component {
company
:
''
,
company
:
''
,
parentCompany
:
''
,
parentCompany
:
''
,
unitBisnis
:
''
,
unitBisnis
:
''
,
totalReport
:
''
,
startDate
:
''
,
startDate
:
''
,
endDate
:
''
endDate
:
''
...
@@ -30,6 +31,7 @@ export default class CreatePerusahaan extends Component {
...
@@ -30,6 +31,7 @@ export default class CreatePerusahaan extends Component {
company
:
data
.
company_name
,
company
:
data
.
company_name
,
parentCompany
:
data
.
parent
,
parentCompany
:
data
.
parent
,
unitBisnis
:
data
.
businessUnitId
,
unitBisnis
:
data
.
businessUnitId
,
totalReport
:
data
.
total_report
,
startDate
:
data
.
start_date
,
startDate
:
data
.
start_date
,
endDate
:
data
.
end_date
endDate
:
data
.
end_date
})
})
...
@@ -66,8 +68,9 @@ export default class CreatePerusahaan extends Component {
...
@@ -66,8 +68,9 @@ export default class CreatePerusahaan extends Component {
let
payload
=
{
let
payload
=
{
"company_id"
:
this
.
state
.
id
,
"company_id"
:
this
.
state
.
id
,
"company_name"
:
this
.
state
.
company
,
"company_name"
:
this
.
state
.
company
,
"parent"
:
this
.
state
.
parentCompany
,
"business_unit_id"
:
this
.
state
.
unitBisnis
,
"business_unit_id"
:
this
.
state
.
unitBisnis
,
"parent"
:
this
.
state
.
parentCompany
,
"total_report"
:
this
.
state
.
totalReport
,
"start_date"
:
this
.
state
.
startDate
,
"start_date"
:
this
.
state
.
startDate
,
"end_date"
:
this
.
state
.
endDate
"end_date"
:
this
.
state
.
endDate
}
}
...
@@ -277,6 +280,27 @@ export default class CreatePerusahaan extends Component {
...
@@ -277,6 +280,27 @@ export default class CreatePerusahaan extends Component {
style
=
{{
padding
:
0
,
margin
:
0
,
width
:
'100%'
}}
style
=
{{
padding
:
0
,
margin
:
0
,
width
:
'100%'
}}
/
>
/
>
<
/div
>
<
/div
>
<
div
className
=
"margin-top-10px"
style
=
{{
padding
:
10
,
borderRadius
:
5
}}
>
<
TextField
style
=
{{
width
:
'100%'
}}
id
=
"report"
label
=
"Jumlah Laporan"
value
=
{
this
.
state
.
totalReport
}
inputProps
=
{{
style
:
{
fontSize
:
11
}
}}
InputLabelProps
=
{{
style
:
{
fontSize
:
11
,
color
:
'#7e8085'
}
}}
onChange
=
{(
e
)
=>
this
.
setState
({
totalReport
:
e
.
target
.
value
})}
>
<
/TextField
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
...
@@ -469,7 +493,7 @@ export default class CreatePerusahaan extends Component {
...
@@ -469,7 +493,7 @@ export default class CreatePerusahaan extends Component {
>
>
<
/TextField
>
<
/TextField
>
<
/div
>
<
/div
>
<
div
className
=
"margin-top-10px"
style
=
{{
padding
:
10
,
borderRadius
:
5
}}
>
<
div
style
=
{{
padding
:
10
,
borderRadius
:
5
}}
>
<
DatePicker
<
DatePicker
margin
=
"normal"
margin
=
"normal"
id
=
"endDate"
id
=
"endDate"
...
...
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