|
|
@@ -178,6 +178,7 @@ define(['app/app'], function (app) {
|
|
|
$scope.applyObj[attr] = attr === 'currency' ? 'RMB' : '';
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
// 发布求购
|
|
|
$scope.release = function () {
|
|
|
// 校验
|
|
|
@@ -237,20 +238,20 @@ define(['app/app'], function (app) {
|
|
|
// 买家求购列表
|
|
|
$scope.searchStatus = 0;
|
|
|
$scope.seekPurchaseTableParams = new ngTableParams({
|
|
|
- page: 1,
|
|
|
- count: 10
|
|
|
+ pageNumber: 1,
|
|
|
+ pageSize: 10
|
|
|
}, {
|
|
|
total: 0,
|
|
|
getData: function ($defer, params) {
|
|
|
const param = BaseService.parseParams(params.url());
|
|
|
- param.isMallGoods = $scope.isMallGoods;
|
|
|
- param.deadline = $scope.deadline;
|
|
|
- param.keyWord = $scope.keyWord;
|
|
|
- param.status = $scope.searchStatus;
|
|
|
- param.minReleaseDate = $scope.startDate
|
|
|
- ? $scope.startDate.getTime() : null;
|
|
|
- param.maxReleaseDate = $scope.endDate ? $scope.endDate.getTime()
|
|
|
- : null;
|
|
|
+ // param.isMallGoods = $scope.isMallGoods;
|
|
|
+ // param.deadline = $scope.deadline;
|
|
|
+ // param.keyWord = $scope.keyWord;
|
|
|
+ // param.status = $scope.searchStatus;
|
|
|
+ // param.minReleaseDate = $scope.startDate
|
|
|
+ // ? $scope.startDate.getTime() : null;
|
|
|
+ // param.maxReleaseDate = $scope.endDate ? $scope.endDate.getTime()
|
|
|
+ // : null;
|
|
|
if ($scope.isSearch) {
|
|
|
param.page = 1;
|
|
|
params.page(1);
|