feat(收尾): 附录A#10联系人CRUD补齐(serializer可写FK+前端dialog+test_contact_crud) / D2真机重跑全绿 / 后端512+PG4
This commit is contained in:
@@ -23,7 +23,7 @@ class ContactSerializer(AsyncModelSerializer):
|
||||
model = Contact
|
||||
fields = [
|
||||
"id", "name", "phone", "email", "title", "is_primary",
|
||||
"customer_code", "supplier_code",
|
||||
"customer", "supplier", "customer_code", "supplier_code",
|
||||
"is_deleted", "created_at", "updated_at",
|
||||
]
|
||||
read_only_fields = ["id", "created_at", "updated_at"]
|
||||
|
||||
Reference in New Issue
Block a user