fix: 客服订单详情罚款状态使用统一标签,支持平台审核中

This commit is contained in:
XingQue
2026-07-02 13:12:22 +08:00
parent d8ac8521d4
commit 2fb1411b78

View File

@@ -9282,7 +9282,7 @@ class KefuGetOrderDetailView(APIView):
response_data['zhiding_dhj_sm'] = getattr(dingdan_obj, 'AssignedLaterNote', '') or ''
# 9. 关联罚款(打手)
PENALTY_STATUS = {1: '待缴纳', 2: '已缴纳', 3: '申诉中', 4: '已驳回'}
from utils.penalty_status import PENALTY_STATUS_LABELS as PENALTY_STATUS
try:
from orders.models import Penalty
dashou_id = dingdan_obj.PlayerID or dingdan_obj.AssignedID or ''