scorpio hace 2 años
padre
commit
812202a7f2
Se han modificado 1 ficheros con 6 adiciones y 1 borrados
  1. 6 1
      src/views/contract/component/info.vue

+ 6 - 1
src/views/contract/component/info.vue

@@ -115,7 +115,12 @@ export default {
       handler(val) {
         if (val) {
           this.form = val
-          console.log(this.form.type, typeof this.form.type)
+          if (this.form.contractsStatus === -1) {
+            this.form.contractsStatus = ''
+          }
+          if (this.form.type === -1) {
+            this.form.type = ''
+          }
         }
       },
       immediate: true