Commit 2745bd2d authored by liboyang's avatar liboyang

标签打印

parent f6b9db28
......@@ -88,13 +88,18 @@ angular.module('AvatarCheck.tagPrint', ['ngRoute', 'AvatarCheck.http', 'tm.pagin
getPoliceListDataNotChecked();
getDetailListById(data.id)
}else if(data.state==2){
$scope.json.isShow=true;
// getDetailListById(data.id)
for (var i=0;i<$scope.json.policeCardsList.length;i++){
if($scope.json.policeCardsList[i].CARD_ID==idcard&&$scope.json.policeCardsList[i].styleClass==''){
$scope.json.policeCardsList[i].styleClass = "bg-danger"
if(data.checkName==$rootScope.loginData.name){
$scope.json.isShow=true;
for (var i=0;i<$scope.json.policeCardsList.length;i++){
if($scope.json.policeCardsList[i].CARD_ID==idcard&&$scope.json.policeCardsList[i].styleClass==''){
$scope.json.policeCardsList[i].styleClass = "bg-danger"
}
}
}else{
$scope.json.isShow=false;
MessageService.showAlert($rootScope.loginData.name+"已生成"+data.policeName+"的交接单")
}
}else{
MessageService.showAlert("无该证件的制证记录")
$scope.json.isShow=false;
......
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