add modules folder based on s_menu
This commit is contained in:
30
test/vuex/acc-one-po-asset/modules/kontrak-asset.js
Normal file
30
test/vuex/acc-one-po-asset/modules/kontrak-asset.js
Normal file
@@ -0,0 +1,30 @@
|
||||
export default {
|
||||
namespaced: true,
|
||||
state: {
|
||||
dialog_create_contract: false,
|
||||
form_kontrak: {
|
||||
nama_kontrak: '',
|
||||
tanggal_kontrak: moment(new Date()).format('YYYY-MM-DD'),
|
||||
supplierID_kontrak: '',
|
||||
tanggalAwal_kontrak: moment(new Date()).format('YYYY-MM-DD'),
|
||||
tanggalAkhir_kontrak: moment(new Date()).format('YYYY-MM-DD'),
|
||||
durasi_cicilan: 1,
|
||||
jumlah_cicilan: 1,
|
||||
tanggalBayar_cicilan: 1,
|
||||
besarNilai_cicilan: 0,
|
||||
type_downpayment: 'nominal',
|
||||
besarNilai_downpayment: 0,
|
||||
type_pajak: 'persen',
|
||||
besarNilai_pajak: 0
|
||||
}
|
||||
},
|
||||
mutations: {
|
||||
update_dialog_create_contract(state, val) {
|
||||
state.dialog_create_contract = val
|
||||
},
|
||||
update_form_kontrak(state, val) {
|
||||
state.form_kontrak = val
|
||||
}
|
||||
},
|
||||
actions: {}
|
||||
}
|
||||
Reference in New Issue
Block a user