【新增】支付弹窗和修复bug

This commit is contained in:
yanran200830
2024-10-30 17:29:21 +08:00
parent 4b6e221369
commit 4bfb4c2d1a
5 changed files with 250 additions and 106 deletions

View File

@@ -248,15 +248,10 @@
"name": 1,
"height": 200,
"width": 200,
"paperHeader": 0,
"paperFooter": 547,
"printElements": [],
"paperNumberLeft": 500,
"paperNumberTop": 530,
"paperNumberDisabled": true,
"paperNumberContinue": true,
"fontFamily": "Microsoft YaHei",
"scale": 1,
"watermarkOptions": {}
}]
}
@@ -586,8 +581,12 @@
// js打印不显示设计界面
toPrint (template, printData) {
this.hiprintTemplate.update(template)
this.hiprintTemplate.print(printData)
this.hiprintTemplate = newHiprintPrintTemplate('temulables')
setTimeout(() => {
this.hiprintTemplate.update(template)
this.hiprintTemplate.print(printData)
}, 100)
},
elementToString(el) {