瀏覽代碼

fix:商城商品批量修改报错

ct 1 天之前
父節點
當前提交
961ae094d1
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/hisStore/storeProduct/index.vue

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

@@ -1246,7 +1246,7 @@ export default {
       param.productId = this.ids;
       param.goodsStatus = this.form1.isShow;
       param.goodsIsShow = this.form1.isDisplay;
-      param.companyIds = this.companyId+''
+      param.companyIds = this.form1.companyId.join(',');
       batchModify(param).then(res=>{
         if(res.code === 200){
           this.$message.success("批量修改成功");