if self.employee_type: result = [self.employee_type.id,self.employee_type.display_name] else: result = None
需要帮忙写代码-根据员工姓名带出雇佣信息上的员工类型(选择员工根据规则带出员工类型)