|
@@ -1044,7 +1044,7 @@ export default {
|
|
},
|
|
},
|
|
//生成SKU
|
|
//生成SKU
|
|
generate () {
|
|
generate () {
|
|
- genFormatAttr(this.form.productId, { attrs: this.attrs }).then(res => {
|
|
|
|
|
|
+ genFormatAttr(this.form.productId, { attrs:JSON.stringify({attrs: this.attrs}),storeIds: null}).then(res => {
|
|
if(this.form.specType === 0){
|
|
if(this.form.specType === 0){
|
|
this.oneFormValidate = res.value;
|
|
this.oneFormValidate = res.value;
|
|
this.form.header = res.header;
|
|
this.form.header = res.header;
|