From 363892e07be7eb2462ed8a71f0d64b642d8f816d Mon Sep 17 00:00:00 2001 From: yufei_wang <2267742828@qq.com> Date: Thu, 5 Sep 2024 10:36:42 +0800 Subject: [PATCH] =?UTF-8?q?HL-5861=E4=BE=9B=E5=BA=94=E5=95=86=E5=8F=91?= =?UTF-8?q?=E7=A5=A8=E7=94=B3=E8=AF=B7=E5=8F=8A=E5=8F=91=E7=A5=A8=E8=AE=B0?= =?UTF-8?q?=E5=BD=95=E5=92=8C=E4=BB=B7=E5=B7=AE=E6=9F=A5=E7=9C=8B=E7=95=8C?= =?UTF-8?q?=E9=9D=A2=E7=9A=84=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Descriptions/src/Descriptions.vue | 1 + src/components/Detail/src/Detail.vue | 6 ++- src/types/descriptions.d.ts | 1 + .../supplierinvoiceRecordMain/index.vue | 12 +++++ .../supplierinvoiceRecordMain.data.ts | 9 ++++ .../supplierinvoiceRequestMain/index.vue | 19 +++++++- .../supplierinvoiceRequestMain.data.ts | 47 ++++++++++++++++++- .../index.vue | 12 +++++ ...pplierinvoiceRequestMainDifference.data.ts | 9 ++++ 9 files changed, 111 insertions(+), 5 deletions(-) diff --git a/src/components/Descriptions/src/Descriptions.vue b/src/components/Descriptions/src/Descriptions.vue index 4c175bf89..eadbce97d 100644 --- a/src/components/Descriptions/src/Descriptions.vue +++ b/src/components/Descriptions/src/Descriptions.vue @@ -151,6 +151,7 @@ const showAll = () =>{ item.valueFilter(data[item.field]) }} + {{ data[item.field] }}
diff --git a/src/components/Detail/src/Detail.vue b/src/components/Detail/src/Detail.vue index 6b485a7fe..53b17e764 100644 --- a/src/components/Detail/src/Detail.vue +++ b/src/components/Detail/src/Detail.vue @@ -23,7 +23,11 @@ :schema="allSchemas.detailSchema" :columns="2" width="200px" - /> + > + +
diff --git a/src/types/descriptions.d.ts b/src/types/descriptions.d.ts index 70be082d8..62810c7ef 100644 --- a/src/types/descriptions.d.ts +++ b/src/types/descriptions.d.ts @@ -10,5 +10,6 @@ export interface DescriptionsSchema { labelClassName?: string dateFormat?: string // add by 星语:支持时间的格式化 valueFilter?: function // 展示的过滤函数 + slotFilter?:boolean // 插槽自定义内容 dictType?: string // add by 星语:支持 dict 字典数据 } diff --git a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRecordMain/index.vue b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRecordMain/index.vue index d60e64faf..ff49c7c11 100644 --- a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRecordMain/index.vue +++ b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRecordMain/index.vue @@ -138,6 +138,18 @@ :apiPage="SupplierinvoiceRecordDetailApi.getSupplierinvoiceRecordDeatilPage" @buttonBaseClick="detailButtonBaseClick" > + + + + + + diff --git a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRecordMain/supplierinvoiceRecordMain.data.ts b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRecordMain/supplierinvoiceRecordMain.data.ts index 3183fa5b7..459b0be99 100644 --- a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRecordMain/supplierinvoiceRecordMain.data.ts +++ b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRecordMain/supplierinvoiceRecordMain.data.ts @@ -1218,6 +1218,9 @@ export const SupplierinvoiceRecordDetailMain = useCrudSchemas(reactive + + + + + + diff --git a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/supplierinvoiceRequestMain.data.ts b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/supplierinvoiceRequestMain.data.ts index 060b95ccd..becf3987b 100644 --- a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/supplierinvoiceRequestMain.data.ts +++ b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/supplierinvoiceRequestMain.data.ts @@ -434,7 +434,7 @@ export const SupplierinvoiceRequestMain = useCrudSchemas(reactive( // } // }, { - label: '折扣金额', + label: '返利未税金额', field: 'discountAmount1', formatter: accountantFormart, table: { @@ -470,6 +470,40 @@ export const SupplierinvoiceRequestMain = useCrudSchemas(reactive( }, isTableForm:false, }, + { + label: '返利税额', + field: 'rebateTax', + formatter: accountantFormart, + table: { + width: 150 + }, + sortTableDefault:4, + form: { + component: 'InputNumber', + componentProps: { + precision: 2, + disabled: true, + } + }, + isTableForm:false, + }, + { + label: '返利价税合计', + field: 'rebateTotal', + formatter: accountantFormart, + table: { + width: 150 + }, + sortTableDefault:4, + form: { + component: 'InputNumber', + componentProps: { + precision: 2, + disabled: true, + } + }, + isTableForm:false, + }, { label: '发票税额', field: 'totalTaxAmount', @@ -579,7 +613,7 @@ export const SupplierinvoiceRequestMain = useCrudSchemas(reactive( precision: 2, disabled: true, } - }, + } }, // { @@ -1473,6 +1507,9 @@ export const SupplierinvoiceRequestDetailMain = useCrudSchemas(reactive + + + + + + diff --git a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMainDifference/supplierinvoiceRequestMainDifference.data.ts b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMainDifference/supplierinvoiceRequestMainDifference.data.ts index 5bdc5ec06..93482a5c1 100644 --- a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMainDifference/supplierinvoiceRequestMainDifference.data.ts +++ b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMainDifference/supplierinvoiceRequestMainDifference.data.ts @@ -1489,6 +1489,9 @@ export const SupplierinvoiceRequestDetailMain = useCrudSchemas(reactive