Explorar el Código

修改新增质检未清空数据

mxx hace 3 años
padre
commit
b74259c463
Se han modificado 1 ficheros con 7 adiciones y 1 borrados
  1. 7 1
      src/views/houseSelfCollect/inspectInfo.vue

+ 7 - 1
src/views/houseSelfCollect/inspectInfo.vue

@@ -179,11 +179,17 @@
         num:0,
       }
     },
-    activated() {
+    activated() {debugger
       this.types = this.$route.query.type
       if(!this.types){
           this.types = 1
            this.information = '添加'
+           this.inspect = {
+          tidalGrainPrice: 0,
+          buckleWeightRatio: 0,
+          natureOfGrainPurchase:"贸易粮",
+          type:"潮粮"
+        }
       }
       this.cangid = this.$route.query.cangid
       this.warehouseName = this.$route.query.warehouseName