Browse Source

订单管理增加序列号字段

zhangdongming 2 năm trước cách đây
mục cha
commit
4a635b48be
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      AdminController/ServeManagementController.py

+ 2 - 1
AdminController/ServeManagementController.py

@@ -750,7 +750,8 @@ class serveManagement(View):
                     'rank__price': order['rank__price'],
                     'status': order['status'],
                     'order_type': order['order_type'],
-                    'payTime': order['payTime'] if order['payTime'] else 'N/A'
+                    'payTime': order['payTime'] if order['payTime'] else 'N/A',
+                    'serialNumber': CommonService.query_serial_with_uid(order['UID'])
                 }
                 #  订单显示(或不显示)停用/退款功能
                 if order['order_type'] == 0 or order['order_type'] == 1:  # 云存