From e02b7926dbdfd3f816a7cf174bd0e4097c3d1b8d Mon Sep 17 00:00:00 2001 From: "271556543@qq.com" <271556543@qq.com> Date: Fri, 2 Sep 2022 14:43:15 +0800 Subject: [PATCH] 2022.9.2 --- .env.development | 4 +- .../contract/components/detailContract.vue | 10 +- src/views/contract/contractList.vue | 13 +- src/views/contract/seeContract.vue | 605 +++++++++--------- .../statisticalReport/budgetProgress.vue | 18 +- 5 files changed, 350 insertions(+), 300 deletions(-) diff --git a/.env.development b/.env.development index f14882a..56074d9 100644 --- a/.env.development +++ b/.env.development @@ -2,8 +2,8 @@ ENV = 'development' # base api -#VUE_APP_DOMIAN=http://192.168.60.99:9003/ -VUE_APP_DOMIAN=http://hdcontract.ali251.langye.net/ +VUE_APP_DOMIAN=http://192.168.60.99:9003/ +#VUE_APP_DOMIAN=http://hdcontract.ali251.langye.net/ VUE_APP_BASE_API = '' diff --git a/src/views/contract/components/detailContract.vue b/src/views/contract/components/detailContract.vue index 23cd7cb..c2683ff 100644 --- a/src/views/contract/components/detailContract.vue +++ b/src/views/contract/components/detailContract.vue @@ -66,11 +66,11 @@ @@ -455,7 +455,7 @@ export default { @extend .link-budget-plan-title; } &-item{ - color: red; + //color: red; display: flex; diff --git a/src/views/contract/contractList.vue b/src/views/contract/contractList.vue index af1a582..97d329e 100644 --- a/src/views/contract/contractList.vue +++ b/src/views/contract/contractList.vue @@ -502,6 +502,15 @@ export default { } }, + { + label:'已申请金额(元)', + prop:'apply_money_total', + width:180, + align:'right', + formatter:(cell,data,value)=>{ + return Number(value).toFixed(2).replace(/(\d)(?=(\d{3})+\.)/g, '$1,') + } + }, { label:'已付金额(元)', prop:'fund_log_total', @@ -518,7 +527,7 @@ export default { let per = ((((row.fund_log_total)/row.money)||0)*100)?.toFixed(2) || 0 return (
110 ? 'red' : 'green'}}> - {per.padStart(5,'0')}% + {per}%
) } @@ -806,8 +815,8 @@ export default { showPaymentPlan(row, column, cell){ if(column.property === 'sign_plan_count'){ this.$refs['contractPaymentRegistration'].getSignPlan(row.id) + row.status === 2 ? this.$refs['contractPaymentRegistration'].isSign = true : this.$refs['contractPaymentRegistration'].isSign = false this.$refs['contractPaymentRegistration'].isShow = true - row.id === 2 ? this.$refs['contractPaymentRegistration'].isSign = true : this.$refs['contractPaymentRegistration'].isSign = false } if(column.property === 'fund_log_total'){ this.$router.push(`/contract/paymentRegistrationList?contractId=${row.id}`) diff --git a/src/views/contract/seeContract.vue b/src/views/contract/seeContract.vue index 99575e4..c6f3f28 100644 --- a/src/views/contract/seeContract.vue +++ b/src/views/contract/seeContract.vue @@ -1,20 +1,21 @@