diff --git a/test/vuex/acc-one-request-item-out/components/requestListing.vue b/test/vuex/acc-one-request-item-out/components/requestListing.vue
index 736de45..8f858a1 100644
--- a/test/vuex/acc-one-request-item-out/components/requestListing.vue
+++ b/test/vuex/acc-one-request-item-out/components/requestListing.vue
@@ -220,6 +220,7 @@
>
|
receipt
+
+ print
+
|
|
+ >
+
+ print
+
+
@@ -336,6 +357,14 @@
+
@@ -370,9 +399,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,
@@ -398,7 +432,7 @@ module.exports = {
align: "left",
sortable: false,
value: "keterangan",
- width: "40%",
+ width: "35%",
class: "blue lighten-3 white--text",
},
{
@@ -414,7 +448,7 @@ module.exports = {
align: "center",
sortable: false,
value: "action",
- width: "10%",
+ width: "15%",
class: "blue lighten-3 white--text",
},
],
@@ -907,6 +941,15 @@ module.exports = {
});
}
},
+ 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_request_pengeluaran_barang/pdf?id=" + val.rioId + "&username=" + username + "&tm=" + tm;
+ this.openprint = true;
+ }
},
};