70 lines
1.4 KiB
Vue
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>
|