Browse Source

商品组修改

qymljy 1 year ago
parent
commit
a6448ba720
1 changed files with 5 additions and 2 deletions
  1. 5 2
      src/HDrpManagement/ProductGroupMag/modules/edit.vue

+ 5 - 2
src/HDrpManagement/ProductGroupMag/modules/edit.vue

@@ -55,6 +55,7 @@ export default {
       brandList:[],
       form: {
         sa_brandid: '',
+        itemid:'',
         groupname: '',
         itemno: '',
         tag: [],
@@ -96,6 +97,7 @@ export default {
     },
     productChange (data) {
       this.form.itemno = data.itemno
+      this.form.itemid = data.itemid
       this.form.itemname = data.itemname
       this.$refs.product.visible = false
     },
@@ -133,12 +135,13 @@ export default {
           "sa_brandid":this.groupdata.sa_brandid,
           "groupname":this.groupdata.groupname,
           "itemno":this.tableData[0].itemno,
+          "itemid":this.tableData[0].itemid,
           "tag": []
         }
       })
       this.$emit('onSuccess')
       this.drawer = false
-      
+
     }
   }
 }
@@ -159,4 +162,4 @@ export default {
   text-align: center;
   margin-top: 10px;
 }
-</style>
+</style>