Przeglądaj źródła

【订单详情】-- 增加分期状态到状态过滤器

wangyc 8 lat temu
rodzic
commit
d7b850d4fb

+ 1 - 1
src/main/webapp/resources/js/usercenter/app.js

@@ -705,7 +705,7 @@ define([ 'angularAMD', 'ui.router', 'ui-bootstrap', 'ngLocal', 'ngTable', 'commo
 			if (!status || status == '') {
 				status = 501;
 			}
-			if (status == 501 || status == 503 || status == 504) {
+			if (status == 501 || status == 503 || status == 504 || status == 524 || status == 525) {
 				return '待付款';
 			} else if (status == 505 || status == 406 || status == 407 || status == 403 || status == 408) {
 				return '待发货';

+ 1 - 1
src/main/webapp/resources/js/usercenter/controllers/forstore/order_detail_ctrl.js

@@ -88,7 +88,7 @@ define(['app/app'], function(app) {
 				}
 			});
 
-			if (status == 501 || status == 503 || status == 504) {
+			if (status == 501 || status == 503 || status == 504 || status == 524 || status == 525) {
 				$scope.steps.step1 = true;
 				$scope.steps.time1 = $scope.getTimeOfStatus(status);
 			} else if (status == 505 || status == 406 || status == 407 || status == 403 || status == 408) {

+ 1 - 1
src/main/webapp/resources/js/vendor/app.js

@@ -1001,7 +1001,7 @@ define([ 'angularAMD', 'ngLocal', 'common/services', 'common/directives', 'commo
 			if (!status || status == '') {
 				status = 501;
 			}
-			if (status == 501 || status == 504) {
+			if (status == 501 || status == 504 || status == 524 || status == 525) {
 				return '待付款';
 			} else if (status == 502 || status == 406) {
 				return '待发货';

+ 1 - 1
src/main/webapp/resources/js/vendor/controllers/forstore/purchase_detail.js

@@ -336,7 +336,7 @@ define(['app/app'], function(app) {
 				}
 			});
 
-			if (status == 501) {
+			if (status == 501 || status == 524 || status == 525) {
 				$scope.steps.step1 = true;
 				$scope.steps.time1 = $scope.getTimeOfStatus(status);
 			} else if (status == 502 || status == 406) {