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

【伏达-Pro】 - 审批流条件,审批人员 规则编写

XMLWord打印

    • Icon: Change Change
    • 解决结果: 完成
    • Icon: Medium Medium
    • 202103
    • 202103
    • F-伏达半导体-Y2021002
    • PRO
    • 站点:https://nuvoltatest.peoplus.cn/ 账号: system 密码: 1qazXDR%
    • 基础通用功能
    • 隐藏

      代码:
      the_dep = self.new_department_id
      for i in range(5):
      the_dep = the_dep.parent_department_id
      if i == 0:
      if the_dep:
      result = the_dep.manager_id.user_id
      break
      ===========
      result = False
      if self.department_id and self.new_department_id:
      if self.department_id.id==self.new_department_id.id:
      result = True

      显示
      代码: the_dep = self.new_department_id for i in range(5): the_dep = the_dep.parent_department_id if i == 0: if the_dep: result = the_dep.manager_id.user_id break =========== result = False if self.department_id and self.new_department_id: if self.department_id.id==self.new_department_id.id: result = True

      1.审批条件:同部门或者异部门判断;

      2.新部门的审批人:异动后的部门上的主要负责人的查询(向上一级)

            grant.yang 杨光磊
            fine.sheng 盛艾鑫
            表决:
            0 为这个问题表决

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