From 60a29cc6c558b81cc01b9b13fc7e837e755f8508 Mon Sep 17 00:00:00 2001 From: jameszow Date: Thu, 30 Nov 2023 17:15:53 +0800 Subject: [PATCH 1/9] new: add view advance charge modal --- .../components/ViewAdvanceChargeModal.vue | 171 ++++++++++++++++++ 1 file changed, 171 insertions(+) create mode 100644 web/src/views/financial/advance-charge/components/ViewAdvanceChargeModal.vue diff --git a/web/src/views/financial/advance-charge/components/ViewAdvanceChargeModal.vue b/web/src/views/financial/advance-charge/components/ViewAdvanceChargeModal.vue new file mode 100644 index 00000000..7b737b9d --- /dev/null +++ b/web/src/views/financial/advance-charge/components/ViewAdvanceChargeModal.vue @@ -0,0 +1,171 @@ + + + From d85dacaac81f50ee70eafb041ddf4a2062a76bfc Mon Sep 17 00:00:00 2001 From: jameszow Date: Thu, 30 Nov 2023 17:16:29 +0800 Subject: [PATCH 2/9] fix: fix bug query income receipt page list need input delete flag --- .../service/financial/impl/IncomeReceiptServiceImpl.java | 1 + 1 file changed, 1 insertion(+) diff --git a/core/service/src/main/java/com/wansenai/service/financial/impl/IncomeReceiptServiceImpl.java b/core/service/src/main/java/com/wansenai/service/financial/impl/IncomeReceiptServiceImpl.java index 668c8a74..0d5b85c1 100644 --- a/core/service/src/main/java/com/wansenai/service/financial/impl/IncomeReceiptServiceImpl.java +++ b/core/service/src/main/java/com/wansenai/service/financial/impl/IncomeReceiptServiceImpl.java @@ -115,6 +115,7 @@ public Response> getIncomeReceiptPageList(QueryIncomeDTO queryInc .ge(StringUtils.hasLength(queryIncomeDTO.getStartDate()), FinancialMain::getReceiptDate, queryIncomeDTO.getStartDate()) .le(StringUtils.hasLength(queryIncomeDTO.getEndDate()), FinancialMain::getReceiptDate, queryIncomeDTO.getEndDate()) .eq(FinancialMain::getType, "收入") + .eq(FinancialMain::getDeleteFlag, CommonConstants.NOT_DELETED) .page(page); var incomeVOList = new ArrayList(financialMainPage.getRecords().size() + 1); From 0bbb92d5867bd5e6a4c16131897ab22e92b775c4 Mon Sep 17 00:00:00 2001 From: jameszow Date: Thu, 30 Nov 2023 17:22:16 +0800 Subject: [PATCH 3/9] fetch: update shipments detail column filed width and add advance charge table columns --- .../financial/advance-charge/advance.data.ts | 20 ++++++++++++++++++- web/src/views/report/report.data.ts | 4 ++-- 2 files changed, 21 insertions(+), 3 deletions(-) diff --git a/web/src/views/financial/advance-charge/advance.data.ts b/web/src/views/financial/advance-charge/advance.data.ts index 9ab22b5a..0a243dd9 100644 --- a/web/src/views/financial/advance-charge/advance.data.ts +++ b/web/src/views/financial/advance-charge/advance.data.ts @@ -162,4 +162,22 @@ export const formState: UnwrapRef = reactive({ remark: '', totalAmount: 0, collectedAmount: 0, -}); \ No newline at end of file +}); + +export const advanceChargeTableColumns: BasicColumn[] = [ + { + title: '账户名称', + dataIndex: 'accountName', + width: 200, + }, + { + title: '金额', + dataIndex: 'amount', + width: 180, + }, + { + title: '备注', + dataIndex: 'remark', + width: 200, + }, +] \ No newline at end of file diff --git a/web/src/views/report/report.data.ts b/web/src/views/report/report.data.ts index 45e07e51..cc435a65 100644 --- a/web/src/views/report/report.data.ts +++ b/web/src/views/report/report.data.ts @@ -710,7 +710,7 @@ export const shipmentsDetailStatisticsColumns: BasicColumn[] = [ { title: '金额', dataIndex: 'amount', - width: 65, + width: 75, }, { title: '税率(%)', @@ -720,7 +720,7 @@ export const shipmentsDetailStatisticsColumns: BasicColumn[] = [ { title: '税额', dataIndex: 'taxAmount', - width: 65, + width: 70, }, { title: '出库日期', From 3948cb84392bf1b05c1aff21fa90430c7d0b83c9 Mon Sep 17 00:00:00 2001 From: jameszow Date: Thu, 30 Nov 2023 17:23:36 +0800 Subject: [PATCH 4/9] fetch: add printing function for report module #244 --- web/src/views/report/accountStatistics.vue | 38 ++++++++++++++-- web/src/views/report/customerBill.vue | 46 +++++++++++++++++-- web/src/views/report/productStock.vue | 50 +++++++++++++++++++-- web/src/views/report/purchaseStatistics.vue | 42 +++++++++++++++-- web/src/views/report/retailStatistics.vue | 44 ++++++++++++++++-- web/src/views/report/saleStatistics.vue | 42 +++++++++++++++-- web/src/views/report/shipmentsDetail.vue | 49 ++++++++++++++++++-- web/src/views/report/shipmentsSummary.vue | 44 ++++++++++++++++-- web/src/views/report/storageDetail.vue | 49 ++++++++++++++++++-- web/src/views/report/storageSummary.vue | 44 ++++++++++++++++-- web/src/views/report/supplierBill.vue | 41 +++++++++++++++-- 11 files changed, 449 insertions(+), 40 deletions(-) diff --git a/web/src/views/report/accountStatistics.vue b/web/src/views/report/accountStatistics.vue index 34c41880..dc21df8a 100644 --- a/web/src/views/report/accountStatistics.vue +++ b/web/src/views/report/accountStatistics.vue @@ -2,8 +2,8 @@