|
|
@@ -1,7 +1,7 @@
|
|
1
|
1
|
"use strict";
|
|
2
|
2
|
//器材信息
|
|
3
|
3
|
angular.module('app.business')
|
|
4
|
|
- .controller("deviceOutCtrl", function($scope, $http,$state,$rootScope,deviceInputService,$stateParams, APP_CONFIG) {
|
|
|
4
|
+ .controller("deviceOutCtrl", function($scope, $http,$state,$rootScope,deviceInputService,$stateParams, APP_CONFIG, $filter) {
|
|
5
|
5
|
// 获取列表数据
|
|
6
|
6
|
$scope.pageInfo = {pageNum : 1, pageSize : 10};
|
|
7
|
7
|
$scope.search = {deviceTypeId:"5476"};
|
|
|
@@ -23,7 +23,9 @@ angular.module('app.business')
|
|
23
|
23
|
method: 'POST',
|
|
24
|
24
|
url: APP_CONFIG.deviceUrl + '/devicePutStorage/outUpdate',
|
|
25
|
25
|
data: {
|
|
26
|
|
- sbbh: sbbh
|
|
|
26
|
+ sbbh: sbbh,
|
|
|
27
|
+ commitPeople: $rootScope.userInfo.realName,
|
|
|
28
|
+ commitTime: $filter('date')(new Date(), "yyyy-MM-dd HH:mm:ss")
|
|
27
|
29
|
}
|
|
28
|
30
|
}).then(function successCallback(response) {
|
|
29
|
31
|
if (response.data.status == "success") {
|