|
@@ -49,7 +49,8 @@ export default {
|
|
|
groupname: '',
|
|
|
itemno: '',
|
|
|
tag: [],
|
|
|
- sequence:''
|
|
|
+ sequence:'',
|
|
|
+ itemid:''
|
|
|
},
|
|
|
rules: {
|
|
|
sa_brandid: [
|
|
@@ -78,6 +79,7 @@ export default {
|
|
|
sa_brandid: '',
|
|
|
groupname: '',
|
|
|
itemno: '',
|
|
|
+ itemid:'',
|
|
|
tag: []
|
|
|
},
|
|
|
this.tableData = []
|
|
@@ -93,7 +95,7 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
async submit() {
|
|
|
- if (this.tableData.length === 0)
|
|
|
+ if (this.tableData.length === 0)
|
|
|
const res = await this.$api.requested({
|
|
|
"id": "20220922164303",
|
|
|
"content": {
|
|
@@ -101,6 +103,7 @@ export default {
|
|
|
"sa_brandid":this.form.sa_brandid,
|
|
|
"groupname":this.form.groupname,
|
|
|
"itemno":"",
|
|
|
+ "itemid":"",
|
|
|
"sequence":this.form.sequence,
|
|
|
"tag": []
|
|
|
}
|
|
@@ -119,7 +122,6 @@ export default {
|
|
|
}
|
|
|
})
|
|
|
this.brandList = res.data
|
|
|
- console.log(this.brandList,'品牌');
|
|
|
},
|
|
|
async onSuccess () {
|
|
|
const res = await this.$api.requested({
|
|
@@ -129,12 +131,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
|
|
|
-
|
|
|
+
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -155,4 +158,4 @@ export default {
|
|
|
text-align: center;
|
|
|
margin-top: 10px;
|
|
|
}
|
|
|
-</style>
|
|
|
+</style>
|