|
|
@@ -81,16 +81,12 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
printTree(info){
|
|
|
- this.$service.order.info({ id: info.id,printType:1 }).then(res => {
|
|
|
+ this.$service.orderItem.printTreePin({ id: info.id }).then(res => {
|
|
|
let printData = res.printData ? res.printData : ''
|
|
|
let str = res.template ? res.template:''
|
|
|
let template = JSON.parse(str)
|
|
|
var hiprintTemplate = new hiprint.PrintTemplate({template:template});
|
|
|
hiprintTemplate.print(printData)
|
|
|
- //增加打印次数
|
|
|
- this.$service.order.addPrintNum({id:info.id}).then(data => {
|
|
|
- this.app.refresh({ status: this.tabIndex,book:this.book,clearSign:this.clearSign,name:this.name })
|
|
|
- })
|
|
|
})
|
|
|
},
|
|
|
modifyRemark(){
|