From 2ff20a6b93a92f0cac6b9f5584e81e39407e51c5 Mon Sep 17 00:00:00 2001 From: eug-vs Date: Sun, 14 Mar 2021 13:39:31 +0300 Subject: feat: display populated fields --- src/services.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/services.js') diff --git a/src/services.js b/src/services.js index b610aa9..b9c2ecf 100644 --- a/src/services.js +++ b/src/services.js @@ -37,8 +37,8 @@ const services: ServiceParams[] = [ nameSingular: 'Накладная', tableFields: [ { key: 'operation', label: 'Операция' }, - { key: 'productId', label: 'Товар' }, - { key: 'contractorId', label: 'Поставщик' }, + { key: 'product.name', label: 'Товар' }, + { key: 'contractor.name', label: 'Поставщик' }, { key: 'status', label: 'Статус' }, { key: 'quantity', label: 'Количество' }, ], -- cgit v1.2.3