change dialog form po aset, separate form order / form aset

This commit is contained in:
2026-07-08 17:14:35 +07:00
parent a1aab09ac9
commit 1f5bcfacd5
17 changed files with 1216 additions and 205 deletions

View File

@@ -0,0 +1,36 @@
export default {
namespaced: true,
state: {
/* dialog create order */
dialog_create_order: false,
form_order_asset: {
podate: moment(new Date()).format('YYYY-MM-DD'),
supplierID: "",
reference: "",
branchID: "",
typepajak: "persen",
valuepajak: 0,
typediskon: "persen",
valuediskon: 0
},
list_supplier: [],
list_cabang: []
},
mutations: {
update_dialog_create_order(state, val) {
state.dialog_create_order = val
},
update_form_order_asset(state, val) {
state.form_order_asset = val
},
update_list_supplier(state, val) {
state.list_supplier = val
},
update_list_cabang(state, val) {
state.list_cabang = val
}
},
actions: {
}
}