From 106a61e2a99754ffa3ef8c8c90d4f24cefb99a27 Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Tue, 19 Oct 2021 17:27:23 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=BF=98=E6=AC=BE?= =?UTF-8?q?=E8=AE=B0=E5=BD=95-=E7=BC=96=E8=BE=91=EF=BC=8CdiscernEdit?= =?UTF-8?q?=E7=8A=B6=E6=80=81=E7=AE=A1=E7=90=86=E5=AD=98=E9=94=99bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/page/afterLoan/afterInsurance.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/page/afterLoan/afterInsurance.vue b/src/components/page/afterLoan/afterInsurance.vue index c1d7dfc..833b2c5 100644 --- a/src/components/page/afterLoan/afterInsurance.vue +++ b/src/components/page/afterLoan/afterInsurance.vue @@ -562,8 +562,8 @@
{{index+1}}
- - + +
保存 编辑 @@ -1489,13 +1489,13 @@ export default { this.$store.commit('setNewOrOld','oldLoans')// 区分进入还款或者新建 // 不可编辑 - type==='编辑'?this.$store.commit('discernEdit',false):this.$store.commit('discernEdit',false) + type==='编辑'?this.$store.commit('discernEdit',true):this.$store.commit('discernEdit',false) if (type==='查看') { this.$store.commit('disabledAll',true) }else{ this.$store.commit('disabledAll',false) } - + this.$store.commit("loanbackStatusData", { loanbackStatus: type }); }, // 取得录入页面数据详情 From df30a39d2e27ab1c1d26d1c1dadb3229a075683b Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Thu, 21 Oct 2021 17:07:05 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=89=B9=E9=87=8F?= =?UTF-8?q?=E5=88=A0=E9=99=A4=E8=BF=98=E6=AC=BE=E8=AE=B0=E5=BD=95bug?= =?UTF-8?q?=EF=BC=8C=E5=88=A0=E9=99=A4=E6=88=90=E5=8A=9F=E5=90=8E=EF=BC=8C?= =?UTF-8?q?clearSelection=E6=B8=85=E9=99=A4=E8=A1=A8=E6=A0=BC=E9=80=89?= =?UTF-8?q?=E6=8B=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/page/afterLoan/afterInsurance.vue | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/components/page/afterLoan/afterInsurance.vue b/src/components/page/afterLoan/afterInsurance.vue index 833b2c5..696353b 100644 --- a/src/components/page/afterLoan/afterInsurance.vue +++ b/src/components/page/afterLoan/afterInsurance.vue @@ -474,7 +474,7 @@
- + @@ -562,8 +562,8 @@
{{index+1}}
- - + +
保存 编辑 @@ -1254,6 +1254,7 @@ export default { // console.log('进入录入环节') // 处于编辑/新增录入,需要判断该业务是否新增的,或是流转的,有不同处理方式 // 担保信息 + let has = false const form1 = new Promise((resolve,reject)=>{ this.$refs['refGuaranteeForm'].validate((valid) => { if (valid) { @@ -1319,7 +1320,7 @@ export default { } that.repaymentForm.totalRepayment = that.totalRepayment that.repaymentForm.overdueDays = that.overdueDays - Promise.all([updateRepayment(that.repaymentForm),editInsurance(param)]).then((res1,res2)=>{ + Promise.all([editInsurance(param),updateRepayment(that.repaymentForm)]).then((res1,res2)=>{ that.$message.success("编辑成功!"); that.loanStatus = 3 that.$store.commit("loanStatusData", { loanStatus: 3 }); @@ -1447,6 +1448,7 @@ export default { .then(() => { delRepayment(delIds).then(res=>{ this.hisMultipleSelection = []; + this.$refs.repaymentTable.clearSelection(); this.$message.success('删除成功'); this.statisticsSearch() }).catch(err=>{