|
@@ -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;
|
|
|
})
|