Explorar el Código

还原用户中心订单确认页面

shenjj hace 7 años
padre
commit
ca2f3f59c1

+ 6 - 4
src/main/webapp/resources/js/usercenter/controllers/forstore/order_pay_ctrl.js

@@ -31,10 +31,12 @@ define(['app/app'], function(app) {
 			Bill.getListPersonal(null, function(data) {
 				$scope.bill = {};
 				$scope.bills = data;
-				$scope.bill.kind = '1205';
-				$scope.order.invoicetype = '1205';
-        $scope.order.paytype = '1102'
-        $scope.selectBill($scope.order.invoicetype)
+        $scope.bill.kind = '1207';
+        $scope.order.invoicetype = '1207';
+        // $scope.bill.kind = '1205';
+        // $scope.order.invoicetype = '1205';
+        // $scope.order.paytype = '1102'
+        // $scope.selectBill($scope.order.invoicetype)
 				// angular.forEach($scope.bills, function(item) {
 				//     if(item.kind == '1205') {
 				//         $scope.bill = item;

+ 4 - 4
src/main/webapp/resources/view/usercenter/forstore/order_pay.html

@@ -894,10 +894,10 @@
 				</span>
 			</div>
 			<p class="bill-radio" ng-if="order.status == '501' || order.status == 503 || order.status == 504">
-				<!--<span  ng-click="selectBill('1207')">-->
-					<!--<input type="radio"  name="bill" ng-checked="order.invoicetype == '1207'"/>-->
-					<!--<label></label><em>暂不开票</em>-->
-				<!--</span>-->
+				<span  ng-click="selectBill('1207')">
+					<input type="radio"  name="bill" ng-checked="order.invoicetype == '1207'"/>
+					<label></label><em>暂不开票</em>
+				</span>
 				<span  ng-click="selectBill('1206')" ng-hide="storeArray.length == 1 && hideNormal">
 					<input type="radio"  name="bill" ng-checked="order.invoicetype == '1206'"/>
 					<label></label><em>增值税普通发票</em>