code: def dep_save(self, ):
          
          if not self.cur_dep:
              return
          ordervalue = self.dep_ordervalue_sb.value()
          desc = self.dep_desc_pte.toPlainText()
          self.cur_dep.ordervalue = ordervalue
          self.cur_dep.description = desc
          self.cur_dep.save()
docs: Save the current department
  
          :returns: None
          :rtype: None
          :raises: None