提交 44503c0b 编写于 作者: yi.li's avatar yi.li

新建商品入参

上级 b8df5296
......@@ -838,7 +838,7 @@
this.$refs[formName].validate((valid) => {
if (valid) {
//alert('submit!');
this.updateGoodsInfo()
this.updateGoodsInfo();
} else {
console.log('error submit!!');
return false;
......@@ -861,6 +861,12 @@
});
}
vm.$message.success("操作成功");
this.$router.push({
path: '/goods-manage',
query: {
storeId: this.formData.storeId,
}
})
})
},
......@@ -901,7 +907,8 @@
// } else if (fileLimit.show == "uploadImgMessage2") {
// vm.uploadImgMessage2 = false;
// }
vm.fileGoodsList.push({url:path.fullPath,imageUrl:path.fullPath,imageName:''})
let len = vm.fileGoodsList.length;
vm.fileGoodsList.push({url:path.fullPath,imageUrl:path.fullPath,imageName:'',imageSort: len+1})
//vm.formData.goodsImages = path.fullPath
vm.$message.success("上传成功");
});
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册