mirror of
https://git.meshkee.com/cssd/cssd-front.git
synced 2026-10-13 07:03:26 +03:30
fix : items & package & barcode modal & show-modal
This commit is contained in:
@@ -22,6 +22,13 @@
|
||||
</v-layout>
|
||||
</v-layout>
|
||||
<v-layout row wrap align-center justify-center>
|
||||
<v-flex xs12 sm6 md6 lg3 class="text-center">
|
||||
<v-btn class="WM-NoShadow WM-Outline-Btn WM-Border WM-Border-Black"
|
||||
@click="closeModal">
|
||||
<v-icon class="black--text mr-2 caption">fas fa-times</v-icon>
|
||||
<span class="black--text">Close</span>
|
||||
</v-btn>
|
||||
</v-flex>
|
||||
<v-flex class xs12 md2 sm2 @click="print">
|
||||
<v-btn class="WM-CyanBlueGradient-BG" style="padding:10px 60px">
|
||||
<v-icon class="white--text mr-2 caption">fas fa-print</v-icon>
|
||||
@@ -33,7 +40,7 @@
|
||||
</v-container>
|
||||
</template>
|
||||
<script>
|
||||
import { mapGetters } from "vuex";
|
||||
import {mapGetters, mapMutations} from "vuex";
|
||||
export default {
|
||||
data: () => ({
|
||||
barcodeimg: null,
|
||||
@@ -56,6 +63,7 @@ export default {
|
||||
...mapGetters("modal", ["getModalProperties", "getModalLink"])
|
||||
},
|
||||
methods: {
|
||||
...mapMutations("modal", ["closeModal"]),
|
||||
print() {
|
||||
const prtHtml = document.getElementById("printMe").innerHTML;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user