|
|
@@ -154,6 +154,22 @@ angular.module('app.registrationTable').controller("registrationWheatCtrl", func
|
|
154
|
154
|
console.log(reason);
|
|
155
|
155
|
});
|
|
156
|
156
|
}
|
|
|
157
|
+
|
|
|
158
|
+ // 导出
|
|
|
159
|
+ $scope.exportFile = function() {
|
|
|
160
|
+ // console.log($rootScope);
|
|
|
161
|
+ const params = {
|
|
|
162
|
+ houseId: $scope.houseId,
|
|
|
163
|
+ warehouseId: $scope.warehouseId,
|
|
|
164
|
+ startDate: $("#startDate").val(),
|
|
|
165
|
+ endDate: $("#endDate").val(),
|
|
|
166
|
+ zbr: $rootScope.depotInfo.legalPerson,
|
|
|
167
|
+ shdw: $rootScope.depotInfo.orgName,
|
|
|
168
|
+ dwfzr: ""
|
|
|
169
|
+ };
|
|
|
170
|
+ registrationService.exportWheat(params)
|
|
|
171
|
+ console.log("奥利给");
|
|
|
172
|
+ }
|
|
157
|
173
|
|
|
158
|
174
|
})
|
|
159
|
175
|
|
|
|
@@ -629,6 +645,22 @@ angular.module('app.registrationTable').controller("registrationRiceCtrl", funct
|
|
629
|
645
|
console.log(reason);
|
|
630
|
646
|
});
|
|
631
|
647
|
}
|
|
|
648
|
+
|
|
|
649
|
+ // 导出
|
|
|
650
|
+ $scope.exportFile = function() {
|
|
|
651
|
+ // console.log($rootScope);
|
|
|
652
|
+ const params = {
|
|
|
653
|
+ houseId: $scope.houseId,
|
|
|
654
|
+ warehouseId: $scope.warehouseId,
|
|
|
655
|
+ startDate: $("#startDate").val(),
|
|
|
656
|
+ endDate: $("#endDate").val(),
|
|
|
657
|
+ zbr: $rootScope.depotInfo.legalPerson,
|
|
|
658
|
+ shdw: $rootScope.depotInfo.orgName,
|
|
|
659
|
+ dwfzr: ""
|
|
|
660
|
+ };
|
|
|
661
|
+ registrationService.exportRice(params)
|
|
|
662
|
+ console.log("奥利给");
|
|
|
663
|
+ }
|
|
632
|
664
|
})
|
|
633
|
665
|
|
|
634
|
666
|
angular.module('app.registrationTable').controller("registrationCrudeOilCtrl", function($scope, $state, $rootScope,$stateParams,$uibModal,FileUploader,APP_CONFIG,registrationService,archiveService,$filter) {
|