Explorar el Código

upload

release
HolyKnightIX hace 6 meses
padre
commit
d5c5d2ff21
Se han modificado 1 ficheros con 11 adiciones y 2 borrados
  1. +11
    -2
      example/page/index.vue

+ 11
- 2
example/page/index.vue Ver fichero

@@ -199,12 +199,21 @@ export default {
handlePrint(row) {
console.log(row, 'row')
if (row.tempItems) {
this.$lodop.print(row)
const TaskID = this.$lodop.print(row)
console.log(TaskID, 'TaskID')
LODOP.On_Return = (TaskID, Value) => {
console.log(TaskID, Value)
if (Value) {
this.$message.success("成功创建打印任务!")
}
}
} else {
this.$message.error("空模板无法打印,请先点击设计添加模板数据!")
}
},

handlePrintSuccess() {
console.log(1111111111)
},
// 设计
handleEdit(row) {
console.log(row, 'row')


Cargando…
Cancelar
Guardar