Commit fcebf23b authored by wuzhilong's avatar wuzhilong

选择打印机

parent 6c28011b
...@@ -175,6 +175,7 @@ angular.module('AvatarCheck.receitp', ['ngRoute', 'AvatarCheck.http']) ...@@ -175,6 +175,7 @@ angular.module('AvatarCheck.receitp', ['ngRoute', 'AvatarCheck.http'])
if(json.list.length==0){ if(json.list.length==0){
MessageService.showAlert("请选择要打印的分局或派出所") MessageService.showAlert("请选择要打印的分局或派出所")
}else{ }else{
var LODOP = getLodop();
if( $scope.priterNum==100){ if( $scope.priterNum==100){
$scope.priterNum=LODOP.SELECT_PRINTER(); $scope.priterNum=LODOP.SELECT_PRINTER();
}else { }else {
...@@ -209,7 +210,7 @@ angular.module('AvatarCheck.receitp', ['ngRoute', 'AvatarCheck.http']) ...@@ -209,7 +210,7 @@ angular.module('AvatarCheck.receitp', ['ngRoute', 'AvatarCheck.http'])
} }
$timeout(function () { $timeout(function () {
for (var i=0;i<$scope.result.length;i++){ for (var i=0;i<$scope.result.length;i++){
var LODOP = getLodop();
LODOP.SET_LICENSES("", "15F0BE661E7F32F37491843CB2510905", "C94CEE276DB2187AE6B65D56B3FC2848", ""); LODOP.SET_LICENSES("", "15F0BE661E7F32F37491843CB2510905", "C94CEE276DB2187AE6B65D56B3FC2848", "");
//初始化 //初始化
LODOP.PRINT_INIT("打印交接单"); LODOP.PRINT_INIT("打印交接单");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment