上传的图像用于项目: 'CST技术支持'
  1. CST技术支持
  2. SLAL2-2295

【Pro-Airbustest】技术支持:合同与协议取值不能取到身份证号码等信息,需要通过代码取值。麻烦帮忙写一下取值代码 第2个问题,共119 返回到搜索

XMLWord打印

    • Icon: Change Change
    • 解决结果: 完成
    • Icon: Medium Medium
    • 202104
    • K-空客-Y2020065
    • Airbustest
    • 基础通用功能
    • 隐藏

      6个占位符依次如下:
      result = ''
      for item in record.employee_id.person_id.per_national_ids:
      if item.is_primary:
      result = item.national_id
      ==============
      result=record.employee_id.person_id.per_personal.with_context(lang='zh_CN').x_apc or ''
      ==============
      result = ''
      for item in record.employee_id.person_id.phone_ids:
      if item.is_primary:
      result = item.phone_number
      ========================
      result = ''
      for item in record.employee_id.person_id.email_ids:
      if item.is_primary:
      result = item.email_address
      =======================
      result = ''
      for item in record.employee_id.person_id.emergency_contact_ids:
      if item.is_primary:
      result = item.name
      =======================
      result = ''
      for item in record.employee_id.person_id.emergency_contact_ids:
      if item.is_primary:
      result = item.phone

      显示
      6个占位符依次如下: result = '' for item in record.employee_id.person_id.per_national_ids: if item.is_primary: result = item.national_id ============== result=record.employee_id.person_id.per_personal.with_context(lang='zh_CN').x_apc or '' ============== result = '' for item in record.employee_id.person_id.phone_ids: if item.is_primary: result = item.phone_number ======================== result = '' for item in record.employee_id.person_id.email_ids: if item.is_primary: result = item.email_address ======================= result = '' for item in record.employee_id.person_id.emergency_contact_ids: if item.is_primary: result = item.name ======================= result = '' for item in record.employee_id.person_id.emergency_contact_ids: if item.is_primary: result = item.phone

      技术支持:合同与协议取值不能取到身份证号码等信息,需要通过代码取值。麻烦帮忙写一下取值代码

            grant.yang 杨光磊
            kyle.gao 郜斌
            表决:
            0 为这个问题表决

              创建日期:
              已更新:
              已解决: