|
@@ -90,6 +90,12 @@ export default {
|
|
|
name: 'CategorySet',
|
|
|
mixins: [commonMixin],
|
|
|
components: { ChooseBrandModal, ChooseTypeModal },
|
|
|
+ props: {
|
|
|
+ bizUserSn: {
|
|
|
+ type: String,
|
|
|
+ default: ''
|
|
|
+ }
|
|
|
+ },
|
|
|
data () {
|
|
|
return {
|
|
|
spinning: false,
|
|
@@ -227,7 +233,7 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
save (list, type) {
|
|
|
- const ajaxdata = { userSn: this.$route.query.sn, bizUserScopeSn: this.chooseObj.bizUserScopeSn }
|
|
|
+ const ajaxdata = { userSn: this.$route.query.sn, bizUserScopeSn: this.chooseObj.bizUserScopeSn, bizUserSn: this.bizUserSn }
|
|
|
if (type == 'BRAND') {
|
|
|
ajaxdata.productBrandList = list
|
|
|
saveProductBrandList(ajaxdata).then(res => {
|
|
@@ -278,8 +284,8 @@ export default {
|
|
|
pageSize: 20,
|
|
|
userSn: this.$route.query.sn,
|
|
|
hasDetail: 1,
|
|
|
+ bizUserSn: this.bizUserSn,
|
|
|
...params
|
|
|
-
|
|
|
}).then(res => {
|
|
|
if (res.status == 200) {
|
|
|
this.dataSource = res.data.list
|