|
@@ -168,10 +168,15 @@ export const jGPlPrint = function (data, type, callback, printLogParams, orginDa
|
|
|
LODOP.On_Return = function (TaskID, Value) {
|
|
|
console.log(TaskID, Value)
|
|
|
// 已打印
|
|
|
- if (Value && printLogParams) {
|
|
|
- console.log('已打印,统计打印次数')
|
|
|
- printLog(printLogParams, callback)
|
|
|
+ if (Value) {
|
|
|
+ if(printLogParams){
|
|
|
+ console.log('已打印,统计打印次数')
|
|
|
+ printLog(printLogParams, callback)
|
|
|
+ }else{
|
|
|
+ callback({status:200,message:'已打印'})
|
|
|
+ }
|
|
|
} else {
|
|
|
+ // 取消打印
|
|
|
callback()
|
|
|
}
|
|
|
}
|