Please enable JavaScript.
Coggle requires JavaScript to display documents.
SG13701 (haikibutsuList (btnDeleteHaikibutsu (selectedRow == initialState,…
SG13701
haikibutsuList
onChange 排出廃棄物
selected
Unit 単位 of Exhaust <排出>(Amnt) = itemSource[i].AmntUnitCdDefault
itemSource[i].HaikibutsuCd != null
Unit of <荷姿>(Packing) column = itemSource[i].PackingCdDefault
btnDeleteHaikibutsu
selectedRow == initialState
remove from itemsSource
selectedRow != initialState
confirm 1704
remove from itemsSource
btnAddHaikibutsu
Add row to itemSource ("InitialState")
Change the background of Added row
onChange umpanRoute (Auto-complete)
before
beforeDriverText = driver.textValue
beforeDriverSelectedValue = driver.selectedValue
beforeCarText = car.textValue
beforeCarSelectedValue = car.selectedValue
beforeGsyohaCdShuun = UmpanRouteDto.GyoshaCdShuun of selected row
after
selected
set values/itemsSource based on selectedValue (UmpanRouteDto)
selectedValue == beforeGsyohaCdShuun
restore values of driver and car
unselected
set blank/empty values/itemsSource
btnClear
Back to initial state ("Front-action") - initManiData
onChange umpanRoute
btnReset
Back to the state when Submitting ("Front-action") - initManiData
onChange umpanRoute
init
transitData.kamiManiDiv
(!= "3" && != "4" ) || == undefined
permission error (refer MG64000)
else
init API
set header/ data row to TableGroup (refer "TableGroup")
mapping data refer "SG13701_Init"
component settings
required
kamiManiDiv == "4"
kofuNo
kofuDate
umpanRoute
haikibutsuList
max value
kofuDate & finalShobunEndDate = initRes.accessDateTime
disable
btnUmpanRoute
driver
car
btnDeleteHaikibutsu
roleERC
btnInsert
hide
freeItem1 || freeItem2 itemsSource empty
freeItem1 || freeItem2
freeItem1 && freeItem2 itemsSource empty
sectionFreeItem
btnReset
after init
initManiData = form.value
onChange umpanRoute
btnUmpanRoute
open CM15800 (refer Memory_CM15800)
btnInsert
single check
(8 components + 5 spread's components)
corelation check
(2 components + 2 spread's components)
confirm 1201
insert api (SG13701_Insert)
success -> messageBarInfo 1614
initManiData = InsertRequest.ManiData
but initManiData.kofuNo = ""
Show recommend of Continue 「引き続き登録する」 Duplicate 「複写登録する
Continue
onClick btnClear
Duplicate
show btnReset
hide btnClear
kofuNo = ""
finally
undo all component settings set afterPost
hide messageBarInfo
tblBasic.ユニーク番号 = ""
tblBasic.作成日 = ""
component settings
set readonly
kofuDate
finalShobunEndDate
seriNo
umpanRoute
driver
car
haikibutsuList
freeItem1
freeItem2
biko
kofuNo
hide
btnUmpanRoute
disable
btnDeleteHaikibutsu
btnAddHaikibutsu
btnClear
btnReset
btnInsert
update tblGroup value (SG13701_Insert)
error -> messageBarError