feature: po pay downpayment

This commit is contained in:
2026-07-20 13:14:28 +07:00
parent dd5f0b6ab4
commit d92fb57751
64 changed files with 6166 additions and 1739 deletions

View File

@@ -33,20 +33,23 @@
module.exports = {
data() {
return {
}
},
computed: {
dialog_deleteorder: {
get() {
return this.$store.state.poasset.dialog_deleteorder
return this.$store.state.common.dialog_deleteorder
},
set(val) {
this.$store.commit('update_dialog_deleteorder', val)
this.$store.commit('common/update_dialog_deleteorder', val)
}
},
selected_orderaset() {
return this.$store.state.poasset.selected_orderaset
return this.$store.state.common.selected_orderaset
},
loading_process() {
return this.$store.state.common.loading_process
}
},
methods: {
@@ -54,8 +57,13 @@ module.exports = {
this.dialog_deleteorder = false
},
hapusorder() {
if (!this.loading_process) {
this.$store.dispatch("common/deleteOrderAsset")
} else {
const snac = { color: 'warning', msg: 'proses sedang berjalan', state: true };
this.$store.commit('common/update_snackbar', snac);
}
}
},
}
</script>
</script>