From 7c2f2f2835ac7a8a13704bbc9fd706128243286a Mon Sep 17 00:00:00 2001 From: eug-vs <eug-vs@keemail.me> Date: Sun, 14 Mar 2021 15:43:27 +0300 Subject: feat: add Delete button --- 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 bebf07f..f8e27cf 100644 --- a/src/services.js +++ b/src/services.js @@ -48,10 +48,10 @@ const services: ServiceParams[] = [ name: 'Накладные', nameSingular: 'Накладная', tableFields: [ + { key: 'status', label: 'Статус', transform: status => waybillStatusNames[status] }, { key: 'operation', label: 'Операция', transform: op => operationNames[op] }, { key: 'product.name', label: 'Товар' }, - { key: 'contractor.name', label: 'Поставщик' }, - { key: 'status', label: 'Статус', transform: status => waybillStatusNames[status] }, + { key: 'contractor.name', label: 'Контрагент' }, { key: 'quantity', label: 'Количество' }, ], default: { -- cgit v1.2.3