From a4cd469679f3655c8f17fbe13b47a0fb619a74b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E5=A4=AB=E7=90=B3?= <5356169+zhaofulin@user.noreply.gitee.com> Date: Sat, 23 Mar 2024 14:24:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=8B=E6=9C=BA=E7=AB=AF=E9=99=A4=E4=BA=86?= =?UTF-8?q?=E5=85=83=E7=B4=A0=E7=AE=A1=E7=90=86=E7=9A=84=E5=85=B6=E4=BB=96?= =?UTF-8?q?=E5=B7=B2=E7=BB=8F=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/bs/paymentApply.js | 7 +- src/components/MyPayListCard/index.vue | 55 +++++--- src/components/PayConfirmToast/index.vue | 120 ++++++++++++++++++ src/components/UploadFile/index.vue | 12 +- src/views/company/claim/index.vue | 6 +- .../components/HeaderFilter.vue | 8 +- .../corporateReceipts/components/UserList.vue | 1 - src/views/contract/pay/index.vue | 99 +++++++++++---- 8 files changed, 247 insertions(+), 61 deletions(-) create mode 100644 src/components/PayConfirmToast/index.vue diff --git a/src/api/bs/paymentApply.js b/src/api/bs/paymentApply.js index 949403d..c5718c3 100644 --- a/src/api/bs/paymentApply.js +++ b/src/api/bs/paymentApply.js @@ -61,10 +61,11 @@ export function getByPlanDetail(id) { } // 确认申请 -export function confirmApi(id) { +export function confirmApi(data) { return request({ - url: '/bs/payment-apply/paymentAffirm?id=' + id, - method: 'get', + url: '/bs/payment-apply/paymentAffirm', + method: 'post', + data }) } // 取消确认 diff --git a/src/components/MyPayListCard/index.vue b/src/components/MyPayListCard/index.vue index 2923c6c..63ca4bc 100644 --- a/src/components/MyPayListCard/index.vue +++ b/src/components/MyPayListCard/index.vue @@ -17,6 +17,9 @@
合同名称:{{itemData.contractName}}
+
+ 分期说明:{{itemData.periodName}} +
供应商名称:{{itemData.supplierName}}
@@ -43,17 +46,20 @@ 修改 删除 付款确认 + 取消确认 {{ itemData.payMentStatus == 1 && itemData.status == 2 ? '查看凭证' : itemData.files.length ? '修改凭证' : '上传凭证'}} + + + \ No newline at end of file diff --git a/src/components/UploadFile/index.vue b/src/components/UploadFile/index.vue index cbb02db..6b32a57 100644 --- a/src/components/UploadFile/index.vue +++ b/src/components/UploadFile/index.vue @@ -1,13 +1,13 @@