Commit 901a6f17 authored by dahai's avatar dahai

Merge remote-tracking branch 'origin/dev' into dev

parents e2e27668 48c31f4a
......@@ -281,8 +281,8 @@ angular.module('AvatarCheck.tagPrint', ['ngRoute', 'AvatarCheck.http', 'tm.pagin
LODOP.SET_PRINT_STYLEA(0, "Alignment", 2);
LODOP.SET_PRINT_STYLEA(0, "FontSize", 15);
LODOP.PREVIEW();
// LODOP.PRINT();
// LODOP.PREVIEW();
LODOP.PRINT();
})
})
};
......
......@@ -194,14 +194,19 @@ angular.module('AvatarCheck.task', ['ngRoute', 'AvatarCheck.http'])
for (var i=0;i<checks.length;i++){
arr.push(checks[i].value)
}
var json = {
workGroup:groupSelected,
taskIdList:arr
if(arr.length>0){
var json = {
workGroup:groupSelected,
taskIdList:arr
}
HttpService.updateWorkGroup(json,function(data) {
console.log(data)
$scope.searchTaskList();
})
}else{
MessageService.showAlert("请选择要更新的任务单")
}
HttpService.updateWorkGroup(json,function(data) {
console.log(data)
$scope.searchTaskList();
})
}
$scope.goes = function(){
......
......@@ -112,8 +112,6 @@
<button class="btn btn-primary" ng-click="goes()">转出任务单</button>
</div>
</div>
</div>
</div>
<!-- /.mail-box-messages -->
<div ng-if="cycleSheetData.length==0">
<h4>暂无数据</h4>
......
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