Ver Fonte

修改用户中心订单确认页面,默认选择专票

shenjj há 7 anos atrás
pai
commit
9e8c01920e

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

@@ -34,6 +34,7 @@ define(['app/app'], function(app) {
 				$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;