From e5137b4c0fd40d6e0ce8e9d0186efba74f626c65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A0=82=E7=B3=96?= Date: Sat, 16 Aug 2025 14:14:57 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat:=20=E8=B4=A2=E5=8A=A1=E5=8D=95?= =?UTF-8?q?=E6=8D=AE=E5=AE=8C=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../KLPService/AmountSelect/index.vue | 1 + klp-ui/src/store/modules/finance.js | 3 +- .../components/FinanceVoucherTable.vue | 124 +++++++++++++++++ .../finance/document/components/Voucher.vue | 126 +++++++++++------- klp-ui/src/views/finance/document/index.vue | 42 ++---- klp-ui/src/views/wms/print/index.vue | 6 +- 6 files changed, 219 insertions(+), 83 deletions(-) create mode 100644 klp-ui/src/views/finance/document/components/FinanceVoucherTable.vue diff --git a/klp-ui/src/components/KLPService/AmountSelect/index.vue b/klp-ui/src/components/KLPService/AmountSelect/index.vue index 928522bf..0ae0c13f 100644 --- a/klp-ui/src/components/KLPService/AmountSelect/index.vue +++ b/klp-ui/src/components/KLPService/AmountSelect/index.vue @@ -38,6 +38,7 @@ }, methods: { getFinancialAccounts() { + console.log(this.financialAccounts, 'financialAccounts'); this.options = this.financialAccounts.map(item => ({ label: item.accountName, value: item.accountId diff --git a/klp-ui/src/store/modules/finance.js b/klp-ui/src/store/modules/finance.js index 2129f5dc..17431b4d 100644 --- a/klp-ui/src/store/modules/finance.js +++ b/klp-ui/src/store/modules/finance.js @@ -13,7 +13,8 @@ const mutations = { const actions = { getFinancialAccounts({ commit }) { listAccount({ pageSize: 1000 }).then(response => { - commit('SET_FINANCIAL_ACCOUNTS', response.rows); + console.log(response.data, 'finance.response.rows'); + commit('SET_FINANCIAL_ACCOUNTS', response.data); }); } } diff --git a/klp-ui/src/views/finance/document/components/FinanceVoucherTable.vue b/klp-ui/src/views/finance/document/components/FinanceVoucherTable.vue new file mode 100644 index 00000000..2dd803ed --- /dev/null +++ b/klp-ui/src/views/finance/document/components/FinanceVoucherTable.vue @@ -0,0 +1,124 @@ + + + + + \ No newline at end of file diff --git a/klp-ui/src/views/finance/document/components/Voucher.vue b/klp-ui/src/views/finance/document/components/Voucher.vue index 1e158b39..7bdb9fa8 100644 --- a/klp-ui/src/views/finance/document/components/Voucher.vue +++ b/klp-ui/src/views/finance/document/components/Voucher.vue @@ -13,6 +13,11 @@ + + + + + @@ -94,18 +99,20 @@