From 1b60bc2aec4b9d6a753998847304a9bf6799ecc4 Mon Sep 17 00:00:00 2001 From: xy <271556543@qq.com> Date: Tue, 5 Dec 2023 14:15:23 +0800 Subject: [PATCH] 2023-12-5 --- .../contract/components/biddingUpload.vue | 5 +++ .../components/paymentRegistration.vue | 2 +- src/views/contract/contractList.vue | 15 +++++-- src/views/contract/contractProgress.vue | 6 +-- .../contract/paymentRegistrationList.vue | 44 ++++++++++++++++--- 5 files changed, 58 insertions(+), 14 deletions(-) diff --git a/src/views/contract/components/biddingUpload.vue b/src/views/contract/components/biddingUpload.vue index 50aca69..7a7228e 100644 --- a/src/views/contract/components/biddingUpload.vue +++ b/src/views/contract/components/biddingUpload.vue @@ -77,6 +77,11 @@ export default { id: this.id, }); this.detail = res; + this.fileList = res.tender ? [{ + url: res.tender.url, + name: res.tender.original_name, + response: res.tender + }] : [] }, submit() { this.detail.invite_status = 3; diff --git a/src/views/contract/components/paymentRegistration.vue b/src/views/contract/components/paymentRegistration.vue index 1eb4b9d..d309a9b 100644 --- a/src/views/contract/components/paymentRegistration.vue +++ b/src/views/contract/components/paymentRegistration.vue @@ -506,7 +506,7 @@ export default { yizhifujine: this.totalMoney(), zongjia: this.contract?.money, zhifucishu: this.payment.length, - total: this.paymentRegistrationForm.deductionMoney, + total: data.apply_money, out_pay_id: res }); this.isShowPaymentRegistration = false; diff --git a/src/views/contract/contractList.vue b/src/views/contract/contractList.vue index 850d88e..6a3e966 100644 --- a/src/views/contract/contractList.vue +++ b/src/views/contract/contractList.vue @@ -989,9 +989,9 @@ - 确 定 - + { getDate(row.invite_status) }
{ - (row.is_substitute || row.is_simple || row.purchase_way?.remark === "false" || row.invite_status === 1) ? '' : this.toOaDetail('pay',row)}}>查看 + (row.is_substitute || row.is_simple || row.purchase_way?.remark === "false" || row.invite_status === 1) + ? '' : + { + this.$refs['biddingUpload'].setId(row.id) + this.$refs['biddingUpload'].show() + }}}>查看 } ) @@ -2358,6 +2364,7 @@ export default { "signProcess", `top=${this.window.top},left=${this.window.left},width=${this.window.width},height=${this.window.height},location=0` ); + this.$router.push('/contract/contract/paymentRegistrationList_1') }, //请示流程 async askProcess(row) { diff --git a/src/views/contract/contractProgress.vue b/src/views/contract/contractProgress.vue index 0ed049c..e884e1c 100644 --- a/src/views/contract/contractProgress.vue +++ b/src/views/contract/contractProgress.vue @@ -681,8 +681,8 @@ export default { radiusArr: "50%", yArr: [ { - value: row.money, - name: "合同金额", + value: (Number(row.money)||0) - (Number(row.fund_log_total)||0), + name: "未付金额(元)", label: { show: false, //这个数据高亮时不显示label,就不会显示替遮住第一个数据的label值了 }, @@ -692,7 +692,7 @@ export default { }, }, }, - { value: row.plan_price, name: "计划金额" }, + { value: row.fund_log_total, name: "已付金额(元)" }, ] } return ( diff --git a/src/views/contract/paymentRegistrationList.vue b/src/views/contract/paymentRegistrationList.vue index ec71471..cfe3f24 100644 --- a/src/views/contract/paymentRegistrationList.vue +++ b/src/views/contract/paymentRegistrationList.vue @@ -68,11 +68,11 @@