XMLWord打印

    • Icon: Change Change
    • 解决结果: 完成
    • Icon: Medium Medium
    • 202007
    • Y-易路产品-
    • 堀场UAT:horibatest
    • 基础通用功能
    • 隐藏

      if record.employee_id.office_new and record.employee_id.office_new.code in ('O001','O003'):
      result = record.employee_id.hiredate
      elif record.employee_id.office_new and record.employee_id.office_new.code == 'O002':
      if record.employee_id.hiredate >= '2014-06-30':
      result = record.employee_id.hiredate
      elif record.employee_id.hiredate < '2014-06-30':
      result = '2014-06-30'
      else:
      result = '/'
      else:
      result ='/'

      显示
      if record.employee_id.office_new and record.employee_id.office_new.code in ('O001','O003'): result = record.employee_id.hiredate elif record.employee_id.office_new and record.employee_id.office_new.code == 'O002': if record.employee_id.hiredate >= '2014-06-30': result = record.employee_id.hiredate elif record.employee_id.hiredate < '2014-06-30': result = '2014-06-30' else: result = '/' else: result ='/'

      入职日期${hireDate00}:
      (1)若员工管理中,所属区域为‘上海’和‘广州’则取值员工的‘入职日期’
      (2)若所属区域为‘北京’,且‘入职日期’晚于2014/6/30,则取值员工的‘入职日期’
      (3)若所属区域为‘北京’,且‘入职日期’早于2014/6/30,则取值‘2014/6/30’

            wenqiang.liu 刘文强
            geq 葛勤
            表决:
            0 为这个问题表决

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