From a6c8b1e1684440c52d558eda7fdfa132ae1ca972 Mon Sep 17 00:00:00 2001 From: "271556543@qq.com" <271556543@qq.com> Date: Thu, 18 Aug 2022 10:09:44 +0800 Subject: [PATCH] 2022.8.18 --- .env.development | 2 +- src/views/budget/budgetList.vue | 5 +- src/views/budget/seeBudget.vue | 5 +- .../contract/components/detailContract.vue | 4 +- .../components/detailPaymentRegistration.vue | 2 +- .../contract/components/printRegistration.vue | 4 +- src/views/contract/contractList.vue | 166 ++-- src/views/contract/seeContract.vue | 895 ++++++++++++++++++ .../components/examineRegistration.vue | 3 +- vue.config.js | 4 +- 10 files changed, 998 insertions(+), 92 deletions(-) create mode 100644 src/views/contract/seeContract.vue diff --git a/.env.development b/.env.development index 501c589..56ff0d9 100644 --- a/.env.development +++ b/.env.development @@ -2,7 +2,7 @@ ENV = 'development' # base api -VUE_APP_BASE_API = 'http://hdcontract.ali251.langye.net' +VUE_APP_BASE_API = http://192.168.60.99:9003/ #VUE_APP_OUT_URL = http://suzhouhedaooa.langye.net VUE_APP_OUT_URL = http://192.168.60.18:2021 diff --git a/src/views/budget/budgetList.vue b/src/views/budget/budgetList.vue index 362cac4..cb56aeb 100644 --- a/src/views/budget/budgetList.vue +++ b/src/views/budget/budgetList.vue @@ -39,7 +39,7 @@ - + @@ -334,6 +334,9 @@ export default { methods: { //合计 summary(param){ + this.$nextTick(()=>{ + this.$refs['xyTable'].$children[0].doLayout() + }) const { columns, data } = param const sums = [] columns.map((column,index) => { diff --git a/src/views/budget/seeBudget.vue b/src/views/budget/seeBudget.vue index c11c023..beb3f35 100644 --- a/src/views/budget/seeBudget.vue +++ b/src/views/budget/seeBudget.vue @@ -38,7 +38,7 @@ - + @@ -165,6 +165,9 @@ export default { methods: { //合计 summary(param){ + this.$nextTick(()=>{ + this.$refs['xyTable'].$children[0].doLayout() + }) const { columns, data } = param const sums = [] columns.map((column,index) => { diff --git a/src/views/contract/components/detailContract.vue b/src/views/contract/components/detailContract.vue index 6a223df..66781eb 100644 --- a/src/views/contract/components/detailContract.vue +++ b/src/views/contract/components/detailContract.vue @@ -336,8 +336,8 @@ export default { } }, mounted() { - this.window.width = screen.availWidth * 0.8 - this.window.height = screen.availHeight * 0.8 + this.window.width = screen.availWidth * 0.95 + this.window.height = screen.availHeight * 0.95 this.window.top = (window.screen.height - 30 - this.window.height)/2 this.window.left = (window.screen.width - 10 - this.window.width)/2 } diff --git a/src/views/contract/components/detailPaymentRegistration.vue b/src/views/contract/components/detailPaymentRegistration.vue index 23978f6..fe81cc4 100644 --- a/src/views/contract/components/detailPaymentRegistration.vue +++ b/src/views/contract/components/detailPaymentRegistration.vue @@ -32,7 +32,7 @@ *实际支付金额
- +
diff --git a/src/views/contract/components/printRegistration.vue b/src/views/contract/components/printRegistration.vue index e1dcbea..e75e280 100644 --- a/src/views/contract/components/printRegistration.vue +++ b/src/views/contract/components/printRegistration.vue @@ -29,11 +29,11 @@
- +
- +
进度款
diff --git a/src/views/contract/contractList.vue b/src/views/contract/contractList.vue index 23ce6bb..312fa19 100644 --- a/src/views/contract/contractList.vue +++ b/src/views/contract/contractList.vue @@ -95,7 +95,7 @@ - + @@ -259,6 +259,7 @@ export default { this.paymentRegistrationForm.deductionMoney = res.apply_money this.paymentRegistrationForm.applyMoney = res.apply_money this.paymentRegistrationForm.plan = res.plan_link + this.paymentRegistrationForm.discountMoney = res.discount_money await this.getContract(res.contract) }, diff --git a/vue.config.js b/vue.config.js index 19fa249..4e4ae3b 100644 --- a/vue.config.js +++ b/vue.config.js @@ -46,8 +46,8 @@ module.exports = { //before: require('./mock/mock-server.js') proxy: { [process.env.VUE_APP_BASE_API]: { - target: 'http://hdcontract.ali251.langye.net', - //target: 'http://192.168.60.99:9003/', + //target: 'http://hdcontract.ali251.langye.net', + target: 'http://192.168.60.99:9003/', changeOrigin: true, //配置跨域 pathRewrite: { ['^' + process.env.VUE_APP_BASE_API]: ''