Explorar o código

产品字段逻辑

zishan-an hai 1 ano
pai
achega
22cb54db21
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      src/views/system/cooperatorProductFieldModify.vue

+ 2 - 2
src/views/system/cooperatorProductFieldModify.vue

@@ -151,10 +151,10 @@
     mounted() 
     {
       console.log(this.$route.query.productNum)
-      console.log(this.cooperatorNum)
+      console.log(this.$route.query.cooperatorNum)
       console.log("请求数据是")
 
-      findCooperatorFieldByCooNum(this.cooperatorNum,this.currentPage1,this.pagesize1).then(
+      findCooperatorFieldByCooNum(this.$route.query.cooperatorNum,this.currentPage1,this.pagesize1).then(
           res=>
           {
             this.cooperatorField=res.data.cooperator_field.list;