scorpio пре 2 година
родитељ
комит
812202a7f2
1 измењених фајлова са 6 додато и 1 уклоњено
  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