chenguo пре 1 недеља
родитељ
комит
6c389eb09d
1 измењених фајлова са 1 додато и 1 уклоњено
  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;