mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-25 00:03:27 +08:00
Merge pull request #4509 from rekonder/aj_SCI_7315
Fix selected printer for printing [SCI-7315]
This commit is contained in:
commit
4ac46f876a
1 changed files with 25 additions and 23 deletions
|
@ -216,6 +216,7 @@
|
|||
})
|
||||
},
|
||||
submitPrint() {
|
||||
this.$nextTick(() => {
|
||||
if (this.selectedPrinter.attributes.type_of === 'zebra') {
|
||||
this.zebraPrinters.print(
|
||||
this.urls.zebraProgress,
|
||||
|
@ -240,6 +241,7 @@
|
|||
PrintProgressModal.init(data);
|
||||
})
|
||||
}
|
||||
});
|
||||
},
|
||||
initZebraPrinter() {
|
||||
this.zebraPrinters = zebraPrint.init($('#LabelPrinterSelector'), {
|
||||
|
|
Loading…
Reference in a new issue