From 688bfa1f93616fe69c32df79585a9af63354a944 Mon Sep 17 00:00:00 2001 From: MO <448233645@qq.com> Date: Wed, 1 Nov 2023 14:13:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=9A=E8=AE=A1=E5=87=AD=E8=AF=81-=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E5=AD=97=E6=AE=B5=E4=B8=9A=E5=8A=A1=E5=AE=9E=E4=BD=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/accounting/voucher/index.vue | 34 ++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/src/views/accounting/voucher/index.vue b/src/views/accounting/voucher/index.vue index 3da72b5d..36b4fee8 100644 --- a/src/views/accounting/voucher/index.vue +++ b/src/views/accounting/voucher/index.vue @@ -173,6 +173,26 @@ append-to-body > + + + + + + + + + + @@ -484,6 +504,7 @@ import { getFlowPage } from "@/api/accounting/flow"; import { getInvoicesPage } from "@/api/accounting/invoices"; import { getBankSlipPage } from "@/api/accounting/bankSlip"; import UserSelect from "@/components/UserSelect/single.vue"; +import { getOrganizationPage } from "@/api/setting/organization"; export default { name: "Voucher", @@ -573,6 +594,7 @@ export default { showNul3: "", showNul4: "", fjUrl: "", + organizationList: [], }; }, watch() {}, @@ -581,6 +603,7 @@ export default { this.getUserList(); this.getSiteList(); this.handleInitList(); + this.getOrganizationList(); }, methods: { submitForm1() { @@ -688,6 +711,17 @@ export default { this.typeOptions = res.data.list || []; }); }, + // 获取业务实体 + getOrganizationList() { + getOrganizationPage().then((response) => { + this.organizationList = response.data.list; + }); + }, + // 业务实体选择事件 + handleCompanyChange(val) { + this.form.companyId = val.id; + this.form.company = val.organizationName; + }, //获取归档位置 getSiteList() { getSiteTree().then((response) => {