From b0948dd62ceeaaa8f5d757c3603b0808c7c6aa87 Mon Sep 17 00:00:00 2001 From: zhaoxuebing <1291173720@qq.com> Date: Thu, 18 Apr 2024 19:17:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=91=E7=A5=A8=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/dict.ts | 1 + .../supplierinvoiceRequestMain.data.ts | 17 +++++------------ 2 files changed, 6 insertions(+), 12 deletions(-) diff --git a/src/utils/dict.ts b/src/utils/dict.ts index 5498161d8..3bfea0b0c 100644 --- a/src/utils/dict.ts +++ b/src/utils/dict.ts @@ -324,5 +324,6 @@ export enum DICT_TYPE { SUPPLIERINVOICE_REQUEST_STATUS = 'supplierinvoice_request_status', //发票申请状态 SUPPLIERINVOICE_STATUS = 'supplierinvoice_status', //待开票审核状态 BASIC_TEAM_TYPE='basic_team_type',//班组类型 + TAX_RATE_DICT='tax_rate_dict', //税率 } diff --git a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/supplierinvoiceRequestMain.data.ts b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/supplierinvoiceRequestMain.data.ts index 9cb674cee..642af7b1d 100644 --- a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/supplierinvoiceRequestMain.data.ts +++ b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/supplierinvoiceRequestMain.data.ts @@ -172,21 +172,14 @@ export const SupplierinvoiceRequestMain = useCrudSchemas(reactive( { label: '税率', field: 'taxRate', + dictType: DICT_TYPE.TAX_RATE_DICT, + dictClass: 'string', + isTable: true, + isSearch: true, + sort: 'custom', table: { width: 150 }, - form: { - component: 'InputNumber', - componentProps: { - min: 0, - precision: 6, - } - }, - tableForm: { - type: 'InputNumber', - min: 0, - precision: 6, - } }, { label: '税额',