Browse Source

医健宝-店铺审核

chenguo 1 week ago
parent
commit
6c389eb09d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/hisStore/storeProductAudit/index.vue

+ 1 - 1
src/views/hisStore/storeProductAudit/index.vue

@@ -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;