Selaa lähdekoodia

处理暂存编辑后保存异常bug
处理出险次数保存编辑后未回显问题

hxl13994548489 1 vuosi sitten
vanhempi
commit
5f8ec037e8
1 muutettua tiedostoa jossa 9 lisäystä ja 2 poistoa
  1. 9 2
      src/views/Task/daikeComponents/KtLetter.vue

+ 9 - 2
src/views/Task/daikeComponents/KtLetter.vue

@@ -4386,6 +4386,12 @@ export default {
                       eleA.amount = eleB.amount+"";
                       this.protocolJudge("A", true);
                       break;
+                    case "TY1":
+                    case "TY2":
+                    case "TY3":
+                    case "TY4":
+                      eleA.amount = eleB.serviceTimes+"";
+                      break;
                     default:
                       eleA.amount = eleB.amount+"";
                   }
@@ -4566,10 +4572,11 @@ export default {
                 case "MJ4":
                   eleA.amount = eleB.deductibleRate;
                   break;
+                case "TY1":
                 case "TY2":
                 case "TY3":
                 case "TY4":
-                  eleA.amount = eleB.serviceTimes;
+                  eleA.amount = eleB.serviceTimes+"";
                   break;
                 default:
                   eleA.amount = JSON.stringify(eleB.amount);
@@ -6749,7 +6756,6 @@ export default {
       if (typeof this.policyHolderInfo.provinceData == "string") {
         this.policyHolderInfo.provinceData = [];
       }
-
       if (this.$route.query.data) {
         const mergedArray = [
           ...this.imageList1,
@@ -10845,6 +10851,7 @@ else{
       this.policyNumberForm.jqCostsProportion = "";
       this.policyNumberForm.noCostsProportion = "";
       this.policyNumberForm.syCostsProportion = "";
+      this.$route.query.data =null;
     },
     toChinesNum(num) {
       if (num.toString().length == 4) {