|
|
@@ -86,7 +86,7 @@ define(['app/app'], function(app) {
|
|
|
// $scope.rateContent.orderid = purchase.orderid;
|
|
|
if(type == 'allRate'){
|
|
|
var count= 0 ;
|
|
|
- if ($scope.order.ratestatus == 523){
|
|
|
+ if ($scope.order.rateStatus == 523){
|
|
|
angular.forEach($scope.buyerRateGoods,function (item,index) {
|
|
|
if (item.buyerRate != '此用户没有填写评价!' && item.buyerRate != '此用户未及时做出评价,系统默认好评!'){
|
|
|
if (!item.returnMeg || item.returnMeg =='' ){
|
|
|
@@ -99,7 +99,7 @@ define(['app/app'], function(app) {
|
|
|
toaster.pop('warning', '您当前没有可回复的评价');
|
|
|
return;
|
|
|
}
|
|
|
- }else if ($scope.order.ratestatus == 522){
|
|
|
+ }else if ($scope.order.rateStatus == 522){
|
|
|
angular.forEach($scope.buyerRateGoods,function (item,index) {
|
|
|
if (item.buyerAfterRate && !item.afterReturnMeg){
|
|
|
item.afterReturnMeg = param.returnMeg;
|
|
|
@@ -278,7 +278,7 @@ define(['app/app'], function(app) {
|
|
|
});
|
|
|
} else if ($scope.rateType == "allRate") {
|
|
|
var count= 0 ;
|
|
|
- if ($scope.order.ratestatus == 523){
|
|
|
+ if ($scope.order.rateStatus == 523){
|
|
|
angular.forEach($scope.buyerRateGoods,function (item,index) {
|
|
|
if (item.buyerRate != '此用户没有填写评价!'){
|
|
|
if (!item.returnMeg || item.returnMeg =='' ){
|
|
|
@@ -291,7 +291,7 @@ define(['app/app'], function(app) {
|
|
|
toaster.pop('warning', '所有商品都已回复完成');
|
|
|
return;
|
|
|
}
|
|
|
- }else if ($scope.order.ratestatus == 522){
|
|
|
+ }else if ($scope.order.rateStatus == 522){
|
|
|
angular.forEach($scope.buyerRateGoods,function (item,index) {
|
|
|
if (item.buyerAfterRate && !item.afterReturnMeg){
|
|
|
item.afterReturnMeg = param.returnMeg;
|