gangyj vor 3 Jahren
Ursprung
Commit
b6d97267f5
1 geänderte Dateien mit 12 neuen und 0 gelöschten Zeilen
  1. 12 0
      src/views/manager/contractinfo/detail.vue

+ 12 - 0
src/views/manager/contractinfo/detail.vue

@@ -862,6 +862,12 @@ export default {
           if (Number(this.contractForm.contractAmount) < 0) {
             this.contractForm.contractAmount = 0;
           }
+          if(Number(this.contractForm.securityLevel) <0){
+            this.contractForm.securityLevel = 0;
+          }
+          if(Number(this.contractForm.storagePeriod) <0){
+            this.contractForm.storagePeriod = 0;
+          }
           this.$nextTick(() => {
             this.typeChang['1'] = false;
           })
@@ -892,6 +898,12 @@ export default {
           if (Number(this.contractForm.contractAmount) < 0) {
             this.contractForm.contractAmount = 0;
           }
+          if(Number(this.contractForm.securityLevel) <0){
+            this.contractForm.securityLevel = 0;
+          }
+          if(Number(this.contractForm.storagePeriod) <0){
+            this.contractForm.storagePeriod = 0;
+          }
           this.$nextTick(() => {
             this.typeChang['1'] = false;
           })