|
|
@@ -223,7 +223,6 @@ export default {
|
|
|
let printData = res.printData ? res.printData : ''
|
|
|
let str = res.template ? res.template:''
|
|
|
let template = JSON.parse(str)
|
|
|
- hiprint.init();
|
|
|
var hiprintTemplate = new hiprint.PrintTemplate({template:template});
|
|
|
hiprintTemplate.print(printData)
|
|
|
info.printOrder = 1
|
|
|
@@ -234,7 +233,6 @@ export default {
|
|
|
let printData = res.printData ? res.printData : ''
|
|
|
let str = res.template ? res.template:''
|
|
|
let template = JSON.parse(str)
|
|
|
- hiprint.init();
|
|
|
var hiprintTemplate = new hiprint.PrintTemplate({template:template});
|
|
|
hiprintTemplate.print2(printData)
|
|
|
info.printOrder = 1
|