scorpio 2 tahun lalu
induk
melakukan
812202a7f2
1 mengubah file dengan 6 tambahan dan 1 penghapusan
  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