<!-- если есть "F_ORDER_NR", но нет "ORDER_NR" -->
<div ng-if="item.F_ORDER_NR && !item.ORDER_NR">
  <span ng-if="item.F_ORDER_NR && !vm.openFafMbdata">{{item.F_ORDER_NR}} </span>
  <span ng-if="item.F_ORDER_NR && vm.openFafMbdata"
    ><a
      ng-click="vm.openFafMbdata('F_ORDER_NR', item.F_ORDER_NR, item.F_BANK_ID || item.USERBK_NR)"
      class="no-link-link"
      >{{item.F_ORDER_NR}}</a
    ></span
  >
</div>

<!-- если есть "F_ORDER_NR" и "ORDER_NR" -->
<div ng-if="item.F_ORDER_NR && item.ORDER_NR">
  <span ng-if="item.F_ORDER_NR && !vm.openFafMbdata">{{item.F_ORDER_NR}} </span>
  <span ng-if="item.F_ORDER_NR && vm.openFafMbdata"
    ><a
      ng-click="vm.openFafMbdata('F_ORDER_NR', item.F_ORDER_NR, item.F_BANK_ID || item.USERBK_NR)"
      class="no-link-link"
      >{{item.F_ORDER_NR}}</a
    ></span
  >
</div>

<!-- если есть "ORDER_NR", но нет "F_ORDER_NR" -->
<div ng-if="item.ORDER_NR && !item.F_ORDER_NR">
  <span ng-if="item.ORDER_NR && !vm.openFafMbdata">{{item.ORDER_NR}} </span>
  <span ng-if="item.ORDER_NR && vm.openFafMbdata"
    ><a
      ng-click="vm.openFafMbdata('F_ORDER_NR', item.ORDER_NR, item.USERBANK_ID)"
      class="no-link-link"
      >{{item.ORDER_NR}}</a
    ></span
  >
</div>
