|
|
@@ -1278,17 +1278,17 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'service/Purc', 'ser
|
|
|
}
|
|
|
};
|
|
|
|
|
|
- // 采购单
|
|
|
- $scope.print = function(order) {
|
|
|
- PurcOrder.printCount({id: order.id},{});//增加打印此次
|
|
|
- ReportService.print(order.enUU, 'PURCLIST', "where purc$orders.pu_id=" + order.id);
|
|
|
- };
|
|
|
+// // 采购单
|
|
|
+// $scope.print = function(order) {
|
|
|
+// PurcOrder.printCount({id: order.id},{});//增加打印此次
|
|
|
+// ReportService.print(order.enUU, 'PURCLIST', "where purc$orders.pu_id=" + order.id);
|
|
|
+// };
|
|
|
|
|
|
//设置为已查看
|
|
|
$scope.setDisplay = function(state, orderId) {
|
|
|
if(orderId) {//设置单个
|
|
|
PurcOrder[state].call({}, {ids: '' + orderId}, function(){
|
|
|
- $scope.tableParams.reload();
|
|
|
+// $scope.tableParams.reload();
|
|
|
}, function() {
|
|
|
toaster.pop('error', '错误', "设置失败");
|
|
|
});
|