From 16f682b52819459979fd6e2744b633cac69caf78 Mon Sep 17 00:00:00 2001 From: jiangweiguo <1578967617@qq.com> Date: Fri, 19 Apr 2024 11:29:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/bs/vendorReceipt.js | 7 +- .../CorporateReceiptsCard/index.vue | 159 ++++--- src/components/FollowPeoPle/index.vue | 14 +- src/components/UploadFile/index.vue | 121 ++++-- src/components/UploadImagePdf/index.vue | 228 ++++++---- src/layout/index.vue | 21 +- src/router/modules/contract.js | 1 + src/store/modules/common/user.js | 7 +- src/views/company/claim/index.vue | 9 +- src/views/company/invoice/index.vue | 22 +- .../company/myClaim/components/UserList.vue | 141 ++++--- src/views/company/trips/index.vue | 18 +- .../corporateReceipts/components/UserList.vue | 174 +++++--- src/views/contract/receipts/index.vue | 397 +++++++++++++----- src/views/home/index.vue | 90 ++-- src/views/login/index.vue | 10 +- 16 files changed, 939 insertions(+), 480 deletions(-) diff --git a/src/api/bs/vendorReceipt.js b/src/api/bs/vendorReceipt.js index 0398726..67d5f3e 100644 --- a/src/api/bs/vendorReceipt.js +++ b/src/api/bs/vendorReceipt.js @@ -27,10 +27,11 @@ export function deleteVendorReceipt(id) { } // 获得对公收款 -export function getVendorReceipt(id) { +export function getVendorReceipt(query) { return request({ - url: '/bs/vendor-receipt/get?id=' + id, - method: 'get' + url: '/bs/vendor-receipt/get', + method: 'get', + params: query }) } diff --git a/src/components/CorporateReceiptsCard/index.vue b/src/components/CorporateReceiptsCard/index.vue index 396d156..ecbeffd 100644 --- a/src/components/CorporateReceiptsCard/index.vue +++ b/src/components/CorporateReceiptsCard/index.vue @@ -7,44 +7,107 @@
{{}}
-->
-
-
{{handleFilterStatus(DICT_TYPE.BS_EXPENSE_APPLY_STATUS,itemData.status).label}}
+
+
+ {{ + handleFilterStatus( + DICT_TYPE.BS_EXPENSE_APPLY_STATUS, + itemData.status + ).label + }} +
-
- 收款编号: {{itemData.vendorReceiptNo}} +
+ 收款编号: {{ itemData.vendorReceiptNo }}
-
- 申请人:{{itemData.createName}} +
+ 申请人:{{ itemData.createName }}
-
- 申请部门:{{itemData.deptName}} +
+ 申请部门:{{ itemData.deptName }}
-
- 项目名称:{{itemData.projectName}} +
+ 项目名称:{{ itemData.projectName }}
-
- 项目负责人:{{itemData.projectManager}} +
+ 项目负责人:{{ itemData.projectManager }}
-
- 账户类型:{{getDictDataLabel(DICT_TYPE.BS_BANK_TYPE,itemData.accountType) || ''}} +
+ 账户类型:{{ + getDictDataLabel( + DICT_TYPE.BS_BANK_TYPE, + itemData.accountType + ) || '' + }}
-
- 收款金额:{{itemData.amount}} +
+ 收款金额:{{ itemData.amount }}
-
+
审批节点: - {{ items }} + {{ items }} +
-
- 创建时间:{{ dayjs(itemData.createTime).format('YYYY/MM/DD')}} +
+ 创建时间:{{ dayjs(itemData.createTime).format('YYYY/MM/DD') }}
+
- - - + + +
@@ -53,34 +116,30 @@ diff --git a/src/components/FollowPeoPle/index.vue b/src/components/FollowPeoPle/index.vue index 6094f2b..8485f67 100644 --- a/src/components/FollowPeoPle/index.vue +++ b/src/components/FollowPeoPle/index.vue @@ -1,4 +1,5 @@