Ver Fonte

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

ct há 1 dia atrás
pai
commit
961ae094d1
1 ficheiros alterados com 1 adições e 1 exclusões
  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("批量修改成功");