Files
FE_CPONE/test/vuex/one-process-ref-out-status/components/oneProcessRefOutStatusPrintDialog.vue
2026-04-27 10:13:31 +07:00

70 lines
1.4 KiB
Vue

<template>
<v-dialog
v-model="dialog"
width="1000px"
>
<v-card>
<v-card-title
class="headline grey lighten-2 pt-2 pb-2"
primary-title
>
Cetak Surat Jalan
</v-card-title>
<v-card-text class="pt-2 pb-2">
<v-layout>
<v-flex xs12>
<v-divider class="mt-1 mb-1"></v-divider>
<object :data="rpt_url"
width="100%" height="512px"></object>
</v-flex>
</v-layout>
</v-card-text>
<v-divider></v-divider>
<v-card-actions>
<v-spacer></v-spacer>
<v-btn
color="primary"
@click="dialog = false"
flat
>
Tutup
</v-btn>
</v-card-actions>
</v-card>
</v-dialog>
</template>
<style scoped>
</style>
<script>
module.exports = {
components : {
},
methods : {
},
computed : {
dialog: {
get() {
return this.$store.state.order.dialog_print;
},
set(val) {
this.$store.commit('order/update_dialog_print', val);
}
},
rpt_url () {
return this.$store.state.order.rpt_url
}
}
}
</script>