From 876e1c061f6852ba48c14a858954d4a2304b94c6 Mon Sep 17 00:00:00 2001 From: Taric Xin Date: Mon, 18 Apr 2022 16:00:25 +0800 Subject: [PATCH] edit --- .../input-invoice/input-invoice.component.ts | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/src/app/routes/ticket-management/components/input-invoice/input-invoice.component.ts b/src/app/routes/ticket-management/components/input-invoice/input-invoice.component.ts index d45bd8eb..d8d21b4f 100644 --- a/src/app/routes/ticket-management/components/input-invoice/input-invoice.component.ts +++ b/src/app/routes/ticket-management/components/input-invoice/input-invoice.component.ts @@ -121,14 +121,18 @@ export class InputInvoiceComponent implements OnInit { invtype: { type: 'string', title: '发票类型', + enum: [ + { value: '', label: '全部' }, + { value: '1', label: '运输专票' }, + ], ui: { - widget: 'dict-select', - params: { dictKey: 'invoice:type' }, + widget: 'select', placeholder: '请选择', visibleIf: { expand: (value: boolean) => value } - } + }, + default: '' }, hrto: { type: 'string', @@ -156,8 +160,8 @@ export class InputInvoiceComponent implements OnInit { title: '收票状态', enum: [ { value: '', label: '全部' }, - { value: 1, label: '是' }, - { value: 0, label: '否' } + { value: '1', label: '新建' }, + { value: '2', label: '关闭' } ], ui: { widget: 'select',