From 83d48ee13ce36d6ed6ac428c6ac70fbdd1e293ce Mon Sep 17 00:00:00 2001 From: yunuo970428 <405378304@qq.com> Date: Thu, 17 Aug 2023 16:44:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E5=85=AC=E5=8F=B8=E5=AE=9A?= =?UTF-8?q?=E5=88=B6=E9=87=91=E8=9E=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/publicPage/financialscheme.vue | 12 +++++----- .../publicPage/financialschemeEdit.vue | 4 ++-- .../publicPage/financialschemeInfo.vue | 4 +--- .../customizedfinancialsolutionsAdd.vue | 2 +- .../customizedfinancialsolutionsDaiBan.vue | 2 +- .../customizedfinancialsolutionsEdit.vue | 6 ++--- .../customizedfinancialsolutionsYiban.vue | 2 +- .../workFlow/publicPage/financialscheme.vue | 24 ++++++++++--------- .../publicPage/financialschemeEdit.vue | 10 ++++---- 9 files changed, 34 insertions(+), 32 deletions(-) diff --git a/anrui-riskcenter-ui/src/components/publicPage/financialscheme.vue b/anrui-riskcenter-ui/src/components/publicPage/financialscheme.vue index d74fc59ceb..675254ccbb 100644 --- a/anrui-riskcenter-ui/src/components/publicPage/financialscheme.vue +++ b/anrui-riskcenter-ui/src/components/publicPage/financialscheme.vue @@ -232,7 +232,7 @@
抵顶首年保险费
- +
@@ -246,7 +246,7 @@
抵顶购置税
- +
@@ -383,11 +383,11 @@ export default { return val }, showAdd(value) { - this.finance = value + this.finance = JSON.parse(JSON.stringify(value)) this.init() }, showEdit(value) { - this.finance = value + this.finance = JSON.parse(JSON.stringify(value)) this.init() selectList({ orgPath: window.sessionStorage.getItem('defaultOrgPath'), userSid: window.sessionStorage.getItem('defaultOrgPath'), isPack: this.finance.isPack }).then((resp) => { if (resp.success) { @@ -665,11 +665,11 @@ export default { } } if (this.finance.dealWayKey === '02' && this.finance.isPack === '1') { - if (parseInt(this.arguments(this.finance.premium)) < parseInt(this.arguments(this.finance.offsetPremium)) && this.finance.premiumCb) { + if (parseInt(this.arguments(this.finance.premium)) < parseInt(this.arguments(this.finance.offsetPremium))) { this.$message({ showClose: true, type: 'error', message: '抵顶首年保险费数额不能大于融资项目中的保险数额' }) return } - if (parseInt(this.arguments(this.finance.purchaseTax)) < parseInt(this.arguments(this.finance.offsetPurchasetax)) && this.finance.purchaseTaxCb) { + if (parseInt(this.arguments(this.finance.purchaseTax)) < parseInt(this.arguments(this.finance.offsetPurchasetax))) { this.$message({ showClose: true, type: 'error', message: '抵顶购置税数额不能大于融资项目中的购置税数额' }) return } diff --git a/anrui-riskcenter-ui/src/components/publicPage/financialschemeEdit.vue b/anrui-riskcenter-ui/src/components/publicPage/financialschemeEdit.vue index 118ba4b386..08aa9c216c 100644 --- a/anrui-riskcenter-ui/src/components/publicPage/financialschemeEdit.vue +++ b/anrui-riskcenter-ui/src/components/publicPage/financialschemeEdit.vue @@ -365,7 +365,7 @@ export default { }, methods: { showInfo(value) { - this.formobj = value + this.formobj = JSON.parse(JSON.stringify(value)) }, financialComputing() { this.viewState = 2 @@ -373,7 +373,7 @@ export default { }, backData(value) { this.viewState = 1 - this.formobj = value + this.formobj = JSON.parse(JSON.stringify(value)) }, backParameters() { this.$emit('backParameters', this.formobj) diff --git a/anrui-riskcenter-ui/src/components/publicPage/financialschemeInfo.vue b/anrui-riskcenter-ui/src/components/publicPage/financialschemeInfo.vue index 47c33531ad..ed7f66dc0e 100644 --- a/anrui-riskcenter-ui/src/components/publicPage/financialschemeInfo.vue +++ b/anrui-riskcenter-ui/src/components/publicPage/financialschemeInfo.vue @@ -286,9 +286,7 @@ export default { methods: { showInfo(value) { this.viewTitle = '金融方案' - this.formobj = value - console.log(value, 8888) - console.log(this.formobj, 9999) + this.formobj = JSON.parse(JSON.stringify(value)) }, handleReturn() { this.$emit('doback') diff --git a/anrui-riskcenter-ui/src/views/customizedfinancialsolutions/customizedfinancialsolutionsAdd.vue b/anrui-riskcenter-ui/src/views/customizedfinancialsolutions/customizedfinancialsolutionsAdd.vue index 6d4ae3d701..3be99b46b4 100644 --- a/anrui-riskcenter-ui/src/views/customizedfinancialsolutions/customizedfinancialsolutionsAdd.vue +++ b/anrui-riskcenter-ui/src/views/customizedfinancialsolutions/customizedfinancialsolutionsAdd.vue @@ -482,7 +482,7 @@ export default { }, // 金融方案返回的参数 backData(value) { - this.formobj.loanTemplateSolutions = value + this.formobj.loanTemplateSolutions = JSON.parse(JSON.stringify(value)) }, saveOrUpdate() { this.$refs['form_obj'].validate((valid) => { diff --git a/anrui-riskcenter-ui/src/views/workFlow/dingzhijinrongFlow/customizedfinancialsolutionsDaiBan.vue b/anrui-riskcenter-ui/src/views/workFlow/dingzhijinrongFlow/customizedfinancialsolutionsDaiBan.vue index 5bda450ecf..eda1689f32 100644 --- a/anrui-riskcenter-ui/src/views/workFlow/dingzhijinrongFlow/customizedfinancialsolutionsDaiBan.vue +++ b/anrui-riskcenter-ui/src/views/workFlow/dingzhijinrongFlow/customizedfinancialsolutionsDaiBan.vue @@ -198,7 +198,7 @@