import { Component, ChangeDetectionStrategy } from '@angular/core';
import { ActivatedRoute } from '@angular/router';
import { map } from 'rxjs/operators';

@Component({
  selector: 'page-goods-out',
  templateUrl: 'goods-out.component.html',
  styleUrls: ['goods-out.component.scss'],
  changeDetection: ChangeDetectionStrategy.OnPush,
})
export class GoodsOutComponent {
  processId$ = this._activatedRoute.data.pipe(map((data) => +data.processId));

  constructor(private _activatedRoute: ActivatedRoute) {}
}
