diff --git a/test/vuex/acc-one-mutasi-receive/components/mutasiListing.vue b/test/vuex/acc-one-mutasi-receive/components/mutasiListing.vue
index a218c1a..152b4bf 100644
--- a/test/vuex/acc-one-mutasi-receive/components/mutasiListing.vue
+++ b/test/vuex/acc-one-mutasi-receive/components/mutasiListing.vue
@@ -223,7 +223,8 @@
Lihat Detail
+
+
+
+ print
+
+
+ Cetak PDF
+
@@ -286,6 +299,14 @@
+
@@ -323,9 +344,14 @@ module.exports = {
"approve-dialog": httpVueLoader("./approveDialog.vue"),
"one-dialog-alert": httpVueLoader("../../common/oneDialogAlert.vue"),
"one-dialog-error": httpVueLoader("../../common/oneDialogError.vue"),
+ "one-dialog-print": httpVueLoader("../../common/oneDialogPrintX.vue"),
},
data() {
return {
+ urlprint: "",
+ printtitle: "",
+ printwidth: "60%",
+ openprint: false,
msgAlertDeleteRequest: "",
dialogAlertDeleteRequest: false,
dialogAlertDeleteDetail: false,
@@ -624,6 +650,15 @@ module.exports = {
this.$store.commit("mutasi/update_indeterminatex", false);
this.$store.commit("mutasi/update_selected_barcode", []);
this.$store.dispatch("mutasi/getBarcodes");
+ },
+ printout(val) {
+ this.printwidth = "60%";
+ this.printtitle = "";
+ let user = one_user();
+ let username = user && user.M_StaffName ? user.M_StaffName : "";
+ let tm = Date.now();
+ this.urlprint = BASE_URL + "/one-api/report/rpt_penerimaan_mutasi/pdf?id=" + val.MutasiHandoverID + "&username=" + username + "&tm=" + tm;
+ this.openprint = true;
}
},
};
|