Explorar o código

医健宝-店铺审核

chenguo hai 1 semana
pai
achega
6c389eb09d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/views/hisStore/storeProductAudit/index.vue

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

@@ -1044,7 +1044,7 @@ export default {
     },
     //生成SKU
     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){
             this.oneFormValidate = res.value;
             this.form.header = res.header;